deepak191z commited on
Commit
75f98be
·
verified ·
1 Parent(s): 00aa91b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -22,5 +22,8 @@ WORKDIR $HOME/app/deepseek2api
22
  # Install dependencies
23
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
24
 
25
- # Run the application (corrected path)
26
- CMD ["python", "app.py"]
 
 
 
 
22
  # Install dependencies
23
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
24
 
25
+ # Expose the desired port
26
+ EXPOSE 7860
27
+
28
+ # Run the application using Uvicorn on port 7860 and listen on 0.0.0.0
29
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]