refactor. pre-deploy
This commit is contained in:
7
.history/backend/entrypoint_20251029192540.sh
Normal file
7
.history/backend/entrypoint_20251029192540.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Collecting static files..."
|
||||
python manage.py collectstatic --noinput --clear
|
||||
|
||||
echo "Starting server..."
|
||||
exec gunicorn backend.wsgi:application --bind 0.0.0.0:8000
|
||||
Reference in New Issue
Block a user