make migrations in docker-entrypoint
All checks were successful
CI-pipeline / linters (pull_request) Successful in 38s
All checks were successful
CI-pipeline / linters (pull_request) Successful in 38s
This commit is contained in:
@@ -4,7 +4,10 @@
|
||||
echo "Collect static files"
|
||||
python manage.py collectstatic --noinput
|
||||
|
||||
|
||||
# Apply database migrations
|
||||
echo "Make migrations"
|
||||
RUN ./manage.py makemigrations
|
||||
echo "Apply database migrations"
|
||||
python manage.py migrate
|
||||
|
||||
|
||||
Reference in New Issue
Block a user