X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/cc01f98cf23221462ffd9a9bfd5ca4b2fb78a8d8..HEAD:/Dockerfile?ds=inline diff --git a/Dockerfile b/Dockerfile index f679eb32..cda7f2fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -79,20 +79,11 @@ ARG GID=8200 # COPY nginx.conf conf.d/... RUN addgroup -g $GID app && addgroup nginx app -COPY --from=static-builder /app/var/static /app/var/static +COPY --from=static-builder /app/src/static /app/var/static -FROM base AS prod - -RUN pip install --no-cache-dir gunicorn - -USER app -COPY src /app/src - - - FROM prod-base AS prod -COPY --from=static-builder /app/var/static/staticfiles.json /app/var/static/staticfiles.json +COPY --from=static-builder /app/src/static/staticfiles.json /app/src/static/staticfiles.json