We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bcfa8a commit 7579f8bCopy full SHA for 7579f8b
1 file changed
Dockerfile
@@ -7,4 +7,6 @@ RUN pip install gunicorn
7
COPY ./ /app
8
RUN python manage.py makemigrations
9
RUN python manage.py migrate
10
+RUN python manage.py migrate --run-syncdb
11
+RUN python manage.py shell -c "exec(open('myscript.py', encoding='utf-8').read())"
12
CMD [ "gunicorn", "-b", "0.0.0.0:8787", "coper_files.wsgi" ]
0 commit comments