Meshyboi commited on
Commit
e37d2dc
·
verified ·
1 Parent(s): 5844372

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -36,7 +36,7 @@ ENV API_PORT=7860
36
 
37
  # Health check
38
  HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
39
- CMD python -c "import requests; requests.get('http://localhost:8000/health', timeout=5)"
40
 
41
  # Run the FastAPI application with uvicorn
42
- CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8000"]
 
36
 
37
  # Health check
38
  HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
39
+ CMD python -c "import requests; requests.get('http://localhost:7860/health', timeout=5)"
40
 
41
  # Run the FastAPI application with uvicorn
42
+ CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "7860"]