oriastanjung commited on
Commit
7b8d7c2
1 Parent(s): 8087ab0

fix concurency and asyncronous request

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -12,11 +12,11 @@ COPY . .
12
  RUN apt-get update -y
13
  RUN apt-get install libgl1-mesa-glx libglib2.0-0 -y
14
  RUN pip3 install --no-cache-dir -r requirements.txt
15
-
16
 
17
 
18
  # Make port 5000 available to the world outside this container
19
  EXPOSE 5000
20
 
21
  # Run the application
22
- CMD ["gunicron", "-b","--host","0.0.0.0:7860", "main:app"]
 
12
  RUN apt-get update -y
13
  RUN apt-get install libgl1-mesa-glx libglib2.0-0 -y
14
  RUN pip3 install --no-cache-dir -r requirements.txt
15
+ # RUN apt install gunicorn
16
 
17
 
18
  # Make port 5000 available to the world outside this container
19
  EXPOSE 5000
20
 
21
  # Run the application
22
+ CMD ["gunicorn", "-b","--host","0.0.0.0:7860", "main:app"]