Spaces:
Sleeping
Sleeping
Commit
·
3b3925a
1
Parent(s):
b8414ad
Set DEBUG environment variable in Dockerfile and clean up CMD instruction
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -38,6 +38,7 @@ RUN echo "----------------------------------------" && \
|
|
| 38 |
curl -s ifconfig.me && \
|
| 39 |
echo "\n----------------------------------------"
|
| 40 |
|
| 41 |
-
|
|
|
|
| 42 |
|
| 43 |
# CMD ["python", "manage.py", "runserver", "7860", "--verbosity", "2","--noreload"]
|
|
|
|
| 38 |
curl -s ifconfig.me && \
|
| 39 |
echo "\n----------------------------------------"
|
| 40 |
|
| 41 |
+
ENV DEBUG True
|
| 42 |
+
CMD ["gunicorn","BridgeMentor.wsgi:application", "--bind", "0.0.0.0:7860", "--timeout", "30", "--workers", "2"]
|
| 43 |
|
| 44 |
# CMD ["python", "manage.py", "runserver", "7860", "--verbosity", "2","--noreload"]
|