Change to gunicorn #4

Merged
lukas merged 7 commits from change-to-gunicorn into main 2023-01-07 21:17:49 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 1ccfdc321a - Show all commits

View File

@ -6,7 +6,7 @@ RUN npm install && \
FROM python:3.10.9-alpine
ENV VERSION_NUMBER 0.1.1-5-g270d9f7
ENV VERSION_NUMBER 0.1.1-6-g25a58c2
ENV PROD 1
RUN apk add \

View File

@ -8,6 +8,6 @@ echo "Collect static files"
poetry run python src/web/manage.py collectstatic
echo "Starting server"
caddy run
caddy start
cd src/web || exit
poetry run python -m gunicorn --bind 0.0.0.0:8001 web.asgi:application -k uvicorn.workers.UvicornWorker