Fix os import and add media settings 4

This commit is contained in:
ack
2026-01-21 04:30:54 +03:00
parent e57a05ccf5
commit 0f5455618b
2 changed files with 20 additions and 2 deletions

9
entrypoint.sh Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
# Собираем статику
echo "Collecting static files..."
python manage.py collectstatic --noinput
# Запускаем основную команду (Gunicorn)
echo "Starting Gunicorn..."
exec "$@"