Fix os import and add media settings 4
This commit is contained in:
9
entrypoint.sh
Normal file
9
entrypoint.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Собираем статику
|
||||
echo "Collecting static files..."
|
||||
python manage.py collectstatic --noinput
|
||||
|
||||
# Запускаем основную команду (Gunicorn)
|
||||
echo "Starting Gunicorn..."
|
||||
exec "$@"
|
||||
Reference in New Issue
Block a user