JOSHUAJEFFERSON commited on
Commit
2f7df58
·
verified ·
1 Parent(s): 40915f2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -29,5 +29,6 @@ EXPOSE 7860
29
 
30
  # 7. Start the server
31
  # Note: I'm using "BUSINESSTRACKER" based on your project name in the image
32
- CMD python manage.py migrate && \
 
33
  gunicorn wsgi:application --bind 0.0.0.0:7860
 
29
 
30
  # 7. Start the server
31
  # Note: I'm using "BUSINESSTRACKER" based on your project name in the image
32
+ CMD python manage.py collectstatic --noinput && \
33
+ python manage.py migrate && \
34
  gunicorn wsgi:application --bind 0.0.0.0:7860