singhankur01 commited on
Commit
d449db5
·
verified ·
1 Parent(s): c6f2a8c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -18,5 +18,5 @@ EXPOSE 7860
18
 
19
  # Command to run the uvicorn server for FastAPI
20
  # This tells Hugging Face how to start your API
21
- CMD uvicorn app:app --host 0.0.0.0 --port 7860
22
  # CMD ["python", "-c", "import time; print('--- Docker container is running successfully! ---'); time.sleep(600)"]
 
18
 
19
  # Command to run the uvicorn server for FastAPI
20
  # This tells Hugging Face how to start your API
21
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
22
  # CMD ["python", "-c", "import time; print('--- Docker container is running successfully! ---'); time.sleep(600)"]