lyimo commited on
Commit
eef30c9
·
verified ·
1 Parent(s): cf91929

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -28,5 +28,8 @@ RUN mkdir -p $HF_HOME && chmod -R 777 $HF_HOME
28
  # Expose the port the app runs on
29
  EXPOSE 8000
30
 
31
- # Run the application using uvicorn
32
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
 
 
 
 
28
  # Expose the port the app runs on
29
  EXPOSE 8000
30
 
31
+ # Install hypercorn
32
+ RUN pip install hypercorn
33
+
34
+ # Run the application using hypercorn
35
+ CMD ["hypercorn", "main:app", "--bind", "0.0.0.0:8000"]