fix docker compose file and docker
This commit is contained in:
7
resources/scripts/entrypoint.sh
Normal file
7
resources/scripts/entrypoint.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
python3 manage.py collectstatic --noinput
|
||||
python3 manage.py makemigrations --noinput
|
||||
python3 manage.py migrate --noinput
|
||||
|
||||
uvicorn config.asgi:application --host 0.0.0.0 --port 8000 --reload --reload-dir content --reload-dir portfolio_admin
|
||||
|
||||
exit $?
|
||||
Reference in New Issue
Block a user