fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow temp dirs during pipeline
[wolnelektury.git]
/
Dockerfile
diff --git
a/Dockerfile
b/Dockerfile
index
424f37b
..
f6debff
100644
(file)
--- a/
Dockerfile
+++ b/
Dockerfile
@@
-97,6
+97,11
@@
COPY src /app/src
#
FROM app AS static-builder
+# django-pipeline compiler creates temp dirs in place. Let it.
+USER root
+RUN find /app/src/*/static -type d -exec chown app {} +
+USER app
+
RUN python manage.py collectstatic --noinput