Skip to content

Commit

Permalink
Fix degraded error for migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
Buhle79 committed Aug 6, 2024
1 parent c45c594 commit d946f16
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ COPY . /app
RUN pip install -e .

RUN DJANGO_SETTINGS_MODULE=flow_results.testsettings python manage.py collectstatic --noinput
RUN DJANGO_SETTINGS_MODULE=flow_results.testsettings python manage.py makemigrations --dry-run | grep 'No changes detected' || (echo 'There are changes which require migrations.')
ENV DJANGO_SETTINGS_MODULE=flow_results.settings
ENV DEBUG=false

Expand Down

0 comments on commit d946f16

Please sign in to comment.