mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 06:45:05 +01:00
Move static file collection from docker entrypoint to Dockerfile to reduce superflous work
This commit is contained in:
parent
82855f9d43
commit
6ca7322aee
2 changed files with 2 additions and 5 deletions
|
|
@ -65,3 +65,5 @@ COPY src/ /usr/src/paperless/src/
|
|||
COPY data/ /usr/src/paperless/data/
|
||||
COPY media/ /usr/src/paperless/media/
|
||||
|
||||
# Collect static files
|
||||
RUN sudo -HEu paperless /usr/src/paperless/src/manage.py collectstatic --clear --no-input
|
||||
Loading…
Add table
Add a link
Reference in a new issue