This commit is contained in:
parent
bb148ce6f7
commit
69f5539910
@ -1,4 +1,4 @@
|
|||||||
FROM python:3.8-alpine as Build
|
FROM python:3.9-alpine as Build
|
||||||
COPY backend/ /pkg/backend
|
COPY backend/ /pkg/backend
|
||||||
RUN apk -U --no-progress upgrade && \
|
RUN apk -U --no-progress upgrade && \
|
||||||
apk --no-progress add gcc musl-dev && \
|
apk --no-progress add gcc musl-dev && \
|
||||||
@ -13,7 +13,8 @@ RUN apk -U --no-progress upgrade && \
|
|||||||
|
|
||||||
FROM alpine
|
FROM alpine
|
||||||
COPY --from=Build /pkg /
|
COPY --from=Build /pkg /
|
||||||
RUN apk --no-progress add py3-gunicorn
|
RUN apk -U --no-progress upgrade && \
|
||||||
|
apk --no-progress add py3-gunicorn
|
||||||
USER chaineTV
|
USER chaineTV
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
WORKDIR /backend
|
WORKDIR /backend
|
||||||
|
Loading…
Reference in New Issue
Block a user