Kiran5 commited on
Commit
81821d2
·
1 Parent(s): e976fbe

Add application file

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -22,5 +22,6 @@ COPY --chown=user . /app
22
  EXPOSE 7860
23
 
24
  # CMD to run the FastAPI app with Uvicorn
25
- CMD ["sh", "-c", "python main.py"]
 
26
 
 
22
  EXPOSE 7860
23
 
24
  # CMD to run the FastAPI app with Uvicorn
25
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
26
+
27