Manju080 commited on
Commit
298f154
·
1 Parent(s): 576ffdc

update docker file

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -35,5 +35,5 @@ EXPOSE 8000
35
  HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
36
  CMD curl -f http://localhost:8000/health || exit 1
37
 
38
- # Run the application
39
- CMD ["python", "app.py"]
 
35
  HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
36
  CMD curl -f http://localhost:8000/health || exit 1
37
 
38
+ # Run FastAPI using Uvicorn
39
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000", "--log-level", "info"]