SushantGautam commited on
Commit
a2f5c4f
·
1 Parent(s): c0e1751

Remove unnecessary CMD for static file collection in Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -36,6 +36,6 @@ RUN echo "----------------------------------------" && \
36
  echo "\n----------------------------------------"
37
 
38
  # Default CMD (use Gunicorn in production)
39
- CMD ["gunicorn", "BridgeMentor.wsgi:application", "--bind", "0.0.0.0:7860", "--timeout", "30", "--workers", "2"]
40
-
41
  CMD ["/bin/bash", "-c", "python manage.py collectstatic --noinput && gunicorn BridgeMentor.wsgi:application --bind 0.0.0.0:7860 --timeout 30 --workers 2"]
 
 
 
36
  echo "\n----------------------------------------"
37
 
38
  # Default CMD (use Gunicorn in production)
 
 
39
  CMD ["/bin/bash", "-c", "python manage.py collectstatic --noinput && gunicorn BridgeMentor.wsgi:application --bind 0.0.0.0:7860 --timeout 30 --workers 2"]
40
+
41
+ # CMD ["python", "manage.py", "runserver", "7860", "--verbosity", "2", "--noreload"]