Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- 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
|
|
|
|
| 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
|