Files
fet2020/fet2020/docker-entrypoint.sh
2025-10-23 18:53:29 +02:00

16 lines
286 B
Bash
Executable File

#!/bin/sh
# # Collect static files
# echo "Collect static files"
# python manage.py collectstatic --noinput
# Apply database migrations
echo "Apply database migrations"
python manage.py migrate
# Start server
echo "Starting server"
python manage.py runserver 0.0.0.0:8000
exec "$@"