13nishit commited on
Commit
b7bc836
·
verified ·
1 Parent(s): 19afe34

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -4
Dockerfile CHANGED
@@ -8,9 +8,6 @@
8
 
9
  #COPY . .
10
 
11
- CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
12
-
13
-
14
 
15
 
16
  # Use the official Python image as base
@@ -27,5 +24,5 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
27
 
28
  # Copy the rest of the application code into the container at /code
29
  COPY . /code/
30
- CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
31
 
 
8
 
9
  #COPY . .
10
 
 
 
 
11
 
12
 
13
  # Use the official Python image as base
 
24
 
25
  # Copy the rest of the application code into the container at /code
26
  COPY . /code/
27
+ CMD ["gunicorn","-b" ,"0.0.0.0:7860","app.main:app"]
28