mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-01-25 07:18:51 +01:00
Moves Django runserver command in CMD instead of ENTRYPOINT in Dockerfile
This commit is contained in:
parent
eb4a4cd7b7
commit
59282ab8b4
@ -43,3 +43,4 @@ FROM python-run-stage AS backend
|
|||||||
COPY . ${APP_HOME}
|
COPY . ${APP_HOME}
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint"]
|
ENTRYPOINT ["/entrypoint"]
|
||||||
|
CMD ["python3", "demo/manage.py", "runserver", "0.0.0.0:8080"]
|
||||||
|
@ -15,4 +15,4 @@ if [ ! -e "/app/demo/demodesk/db.sqlite3" ]; then
|
|||||||
python3 demo/manage.py loaddata demo.json
|
python3 demo/manage.py loaddata demo.json
|
||||||
fi
|
fi
|
||||||
|
|
||||||
python3 demo/manage.py runserver 0.0.0.0:8080
|
exec "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user