first commit
This commit is contained in:
6
backend/docker-entrypoint.sh
Normal file
6
backend/docker-entrypoint.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
mkdir -p "$(dirname "${SQLITE_PATH:-/data/db.sqlite3}")" "${MEDIA_ROOT:-/data/media}"
|
||||
python manage.py migrate --noinput
|
||||
python manage.py collectstatic --noinput
|
||||
exec gunicorn ourstory.wsgi:application --bind 0.0.0.0:8000 --workers 2
|
||||
Reference in New Issue
Block a user