Minimal fixes
[redakcja.git] / Dockerfile
index f679eb3..cda7f2f 100644 (file)
@@ -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