vip7057 commited on
Commit
145b27b
·
1 Parent(s): c66f24a

modified dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -22,4 +22,4 @@ COPY --chown=appuser:appuser . /app
22
  EXPOSE 7860
23
 
24
  # Command to run the app with uvicorn on port 7860, listening on all interfaces
25
- CMD ["python", "app.py"]
 
22
  EXPOSE 7860
23
 
24
  # Command to run the app with uvicorn on port 7860, listening on all interfaces
25
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]