fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
00816a9
)
Allow temp dirs during pipeline
author
Radek Czajka
<radekczajka@wolnelektury.pl>
Mon, 9 Nov 2026 15:43:08 +0000
(16:43 +0100)
committer
Radek Czajka
<radekczajka@wolnelektury.pl>
Mon, 9 Nov 2026 15:43:08 +0000
(16:43 +0100)
Dockerfile
patch
|
blob
|
history
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
#
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
RUN python manage.py collectstatic --noinput