fix: docker build
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
python manage.py collectstatic
|
||||
python manage.py compilemessages
|
||||
@@ -8,9 +8,6 @@ WORKER_NUM_PROCESSES=${WORKER_NUM_PROCESSES:=1}
|
||||
RUN_SERVER=${RUN_SERVER:="FALSE"}
|
||||
RUN_CELERY=${RUN_CELERY:="FALSE"}
|
||||
|
||||
python manage.py compilemessages
|
||||
python manage.py build_tailwind_theme
|
||||
|
||||
if [ $RUN_SERVER = "TRUE" ]; then
|
||||
uvicorn --workers $ASGI_WORKERS --host $ASGI_HOST --port $ASGI_PORT config.asgi:application
|
||||
elif [ $RUN_CELERY = "TRUE" ]; then
|
||||
|
||||
Reference in New Issue
Block a user