SushantGautam commited on
Commit
3b3925a
·
1 Parent(s): b8414ad

Set DEBUG environment variable in Dockerfile and clean up CMD instruction

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -38,6 +38,7 @@ RUN echo "----------------------------------------" && \
38
  curl -s ifconfig.me && \
39
  echo "\n----------------------------------------"
40
 
41
- CMD ["DEBUG=True", "gunicorn","BridgeMentor.wsgi:application", "--bind", "0.0.0.0:7860", "--timeout", "30", "--workers", "2"]
 
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"]