Update Docker configuration and entrypoint script. Enhance .dockerignore to include additional files and directories for better management. Remove static file collection from entrypoint and add it to the Dockerfile build process for improved efficiency.
This commit is contained in:
@@ -4,8 +4,5 @@ set -e
|
||||
echo "Applying database migrations..."
|
||||
python3 manage.py migrate --noinput
|
||||
|
||||
echo "Collecting static files..."
|
||||
python3 manage.py collectstatic --noinput
|
||||
|
||||
echo "Starting Django application..."
|
||||
exec "$@"
|
||||
Reference in New Issue
Block a user