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 \
|
docker buildx build \
|
||||||
--cache-from "type=local,src=/tmp/.buildx-cache" \
|
--cache-from "type=local,src=/tmp/.buildx-cache" \
|
||||||
--cache-to "type=local,dest=/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" \
|
--output "type=image,push=false" \
|
||||||
--tag albertoxamin/bang:dev \
|
--tag albertoxamin/bang:dev \
|
||||||
--file ./Dockerfile ./
|
--file ./Dockerfile ./
|
||||||
@ -43,7 +43,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--cache-from "type=local,src=/tmp/.buildx-cache" \
|
--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" \
|
--output "type=image,push=true" \
|
||||||
--tag albertoxamin/bang:dev \
|
--tag albertoxamin/bang:dev \
|
||||||
--file ./Dockerfile ./
|
--file ./Dockerfile ./
|
||||||
|
10
Dockerfile
10
Dockerfile
@ -1,9 +1,9 @@
|
|||||||
# FROM node:lts-alpine as builder
|
FROM node:lts-alpine as builder
|
||||||
# COPY ./frontend .
|
COPY ./frontend .
|
||||||
# RUN npm install
|
RUN npm install
|
||||||
# RUN npm run build
|
RUN npm run build
|
||||||
FROM python:3.7
|
FROM python:3.7
|
||||||
# COPY --from=builder ./dist /dist/
|
COPY --from=builder ./dist /dist/
|
||||||
COPY ./backend /dist/
|
COPY ./backend /dist/
|
||||||
WORKDIR /dist
|
WORKDIR /dist
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user