Copy gunicorn.conf to docker container and use it in entrypoint

This commit is contained in:
Florian Gabsteiger
2019-08-09 13:39:57 -09:00
parent dcc959d4f7
commit bdeaf33462
3 changed files with 4 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ services:
# value with nothing.
environment:
- PAPERLESS_OCR_LANGUAGES=
command: ["runserver", "--insecure", "--noreload", "0.0.0.0:8000"]
command: ["gunicorn"]
consumer:
build: ./