Commit 4415a824 authored by Bengfort's avatar Bengfort
Browse files

docker: migrate automatically

parent 530c3d4b
Pipeline #7708 passed with stages
in 2 minutes and 47 seconds
......@@ -22,4 +22,4 @@ RUN pip3 install -r requirements.txt && \
RUN python3 -m django collectstatic --no-input --settings=scheduler.settings.development && \
python3 -m django compilemessages -l de
CMD uwsgi uwsgi.ini --die-on-term
CMD sh -c 'python3 -m django migrate && uwsgi uwsgi.ini --die-on-term'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment