add back other stuff

This commit is contained in:
Alberto 2021-06-22 10:35:45 +02:00
parent 63842fea2a
commit 102dc3873e
No known key found for this signature in database
GPG Key ID: 4F026F48309500A2
2 changed files with 7 additions and 7 deletions

View File

@ -28,7 +28,7 @@ jobs:
docker buildx build \
--cache-from "type=local,src=/tmp/.buildx-cache" \
--cache-to "type=local,dest=/tmp/.buildx-cache" \
--platform linux/arm/v7 \
--platform linux/amd64,linux/arm/v7,linux/arm64 \
--output "type=image,push=false" \
--tag albertoxamin/bang:dev \
--file ./Dockerfile ./
@ -43,7 +43,7 @@ jobs:
run: |
docker buildx build \
--cache-from "type=local,src=/tmp/.buildx-cache" \
--platform linux/arm/v7 \
--platform linux/amd64,linux/arm/v7,linux/arm64 \
--output "type=image,push=true" \
--tag albertoxamin/bang:dev \
--file ./Dockerfile ./

View File

@ -1,9 +1,9 @@
# FROM node:lts-alpine as builder
# COPY ./frontend .
# RUN npm install
# RUN npm run build
FROM node:lts-alpine as builder
COPY ./frontend .
RUN npm install
RUN npm run build
FROM python:3.7
# COPY --from=builder ./dist /dist/
COPY --from=builder ./dist /dist/
COPY ./backend /dist/
WORKDIR /dist
RUN pip install -r requirements.txt