mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 16:25:33 +01:00
Copy gunicorn.conf to docker container and use it in entrypoint
This commit is contained in:
parent
dcc959d4f7
commit
bdeaf33462
3 changed files with 4 additions and 3 deletions
|
|
@ -101,7 +101,7 @@ if [[ "$1" != "/"* ]]; then
|
|||
|
||||
if [[ "$1" = "gunicorn" ]]; then
|
||||
cd /usr/src/paperless/src/ && \
|
||||
exec sudo -HEu paperless /usr/bin/gunicorn -c gunicorn.conf paperless.wsgi
|
||||
exec sudo -HEu paperless /usr/bin/gunicorn -c /usr/src/paperless/gunicorn.conf paperless.wsgi
|
||||
else
|
||||
exec sudo -HEu paperless "/usr/src/paperless/src/manage.py" "$@"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue