feat: use alpine base image for docker

This commit is contained in:
2024-03-25 09:33:16 +01:00
parent 7db642f17f
commit 903816a47d
8 changed files with 42 additions and 16 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
ASGI_HOST=${WSGI_HOST:="0.0.0.0"}
ASGI_PORT=8000
@@ -10,7 +10,7 @@ RUN_CELERY=${RUN_CELERY:="FALSE"}
if [ $RUN_SERVER = "TRUE" ]; then
service nginx restart
rc-service nginx start
uvicorn --workers $ASGI_WORKERS --host $ASGI_HOST --port $ASGI_PORT config.asgi:application
elif [ $RUN_CELERY = "TRUE" ]; then
service nginx stop