psr1992 commited on
Commit
337f41c
·
verified ·
1 Parent(s): 0182b49

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -22,4 +22,4 @@ RUN pip install -U pip wheel && pip install -r requirements.txt
22
  COPY . .
23
 
24
  # Hugging Face sets $PORT; bind to it
25
- CMD ["gunicorn", "-w", "2", "-k", "gthread", "-b", "0.0.0.0:${PORT}", "app:app"]
 
22
  COPY . .
23
 
24
  # Hugging Face sets $PORT; bind to it
25
+ CMD gunicorn -w 2 -k gthread -b 0.0.0.0:$PORT app:app