mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-26 22:35:13 +00:00
Feature: Replace duplicated static files with symlinks (#11418)
This commit is contained in:
1 parent
c5e80a7e4f
commit
a96db50b0a
2 files changed
+169
-1
No files matched your search
+2
-1
@@ -254,7 +254,8 @@ RUN set -eux \
|
||||
&& chown --from root:root --changes --recursive paperless:paperless /usr/src/paperless \
|
||||
&& echo "Collecting static files" \
|
||||
&& s6-setuidgid paperless python3 manage.py collectstatic --clear --no-input --link \
|
||||
&& s6-setuidgid paperless python3 manage.py compilemessages
|
||||
&& s6-setuidgid paperless python3 manage.py compilemessages \
|
||||
&& /usr/local/bin/deduplicate.py --verbose /usr/src/paperless/static/
|
||||
|
||||
VOLUME ["/usr/src/paperless/data", \
|
||||
"/usr/src/paperless/media", \
|
||||
|
||||
Reference in new issue
Block a user