fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minimal fixes
[redakcja.git]
/
Dockerfile
diff --git
a/Dockerfile
b/Dockerfile
index
f679eb3
..
cda7f2f
100644
(file)
--- 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 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
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