We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d8d0e7 commit 99da824Copy full SHA for 99da824
2 files changed
backend/deployment/Dockerfile
@@ -30,4 +30,6 @@ RUN mv backend/urls_live.py backend/urls.py && \
30
31
# Set the gunicorn to run the wsgi file
32
EXPOSE 443
33
-ENTRYPOINT gunicorn --bind=0.0.0.0:443 -k gevent --timeout 300 --access-logfile - --log-file - --log-level info --capture-output --enable-stdio-inheritance backend.wsgi
+ENTRYPOINT python3 manage.py migrate && \
34
+ python3 manage.py seed && \
35
+ gunicorn --bind=0.0.0.0:443 -k gevent --timeout 300 --access-logfile - --log-file - --log-level info --capture-output --enable-stdio-inheritance backend.wsgi
backend/deployment/tasks.Dockerfile
0 commit comments