Fix os import and add media settings 6
This commit is contained in:
@@ -4,6 +4,10 @@
|
||||
echo "Collecting static files..."
|
||||
python manage.py collectstatic --noinput
|
||||
|
||||
# Применяем миграции базы данных
|
||||
echo "Applying database migrations..."
|
||||
python manage.py migrate --noinput
|
||||
|
||||
# Запускаем основную команду (Gunicorn)
|
||||
echo "Starting Gunicorn..."
|
||||
exec "$@"
|
||||
Reference in New Issue
Block a user