Emit gunicorn logs to stdin and stderr
This commit is contained in:
parent
33e136a810
commit
751182df52
|
@ -6,7 +6,7 @@ RUN npm install && \
|
|||
|
||||
FROM python:3.10.9-alpine
|
||||
|
||||
ENV VERSION_NUMBER 0.1.2-4-g362732c
|
||||
ENV VERSION_NUMBER 0.1.2-5-g33e136a
|
||||
ENV PROD 1
|
||||
|
||||
RUN apk add \
|
||||
|
|
|
@ -10,4 +10,4 @@ poetry run python src/web/manage.py collectstatic --clear --no-input
|
|||
echo "Starting server"
|
||||
caddy start
|
||||
cd src/web || exit
|
||||
poetry run python -m gunicorn --bind 0.0.0.0:8001 web.asgi:application -k uvicorn.workers.UvicornWorker
|
||||
poetry run python -m gunicorn --bind 0.0.0.0:8001 web.asgi:application -k uvicorn.workers.UvicornWorker --access-logfile - --error-logfile -
|
||||
|
|
Loading…
Reference in New Issue