mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-01-09 15:38:24 +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}
|
||||
|
||||
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
|
||||
fi
|
||||
|
||||
python3 demo/manage.py runserver 0.0.0.0:8080
|
||||
exec "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user