From 69f55399105147bc620b6e40c50c0ac5b57c7ce2 Mon Sep 17 00:00:00 2001 From: vincent Date: Tue, 10 May 2022 13:41:33 +0200 Subject: [PATCH] switch build on python 3.9 --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7afc4cf..1093555 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.8-alpine as Build +FROM python:3.9-alpine as Build COPY backend/ /pkg/backend RUN apk -U --no-progress upgrade && \ apk --no-progress add gcc musl-dev && \ @@ -13,7 +13,8 @@ RUN apk -U --no-progress upgrade && \ FROM alpine 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 EXPOSE 5000 WORKDIR /backend