add back other stuff
This commit is contained in:
parent
63842fea2a
commit
102dc3873e
4
.github/workflows/dev-image.yml
vendored
4
.github/workflows/dev-image.yml
vendored
@ -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 ./
|
||||
|
10
Dockerfile
10
Dockerfile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user