Change to gunicorn #4
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue