NeerajCodz commited on
Commit
864b733
·
1 Parent(s): fbb1d81

fix: correct Docker healthcheck endpoint path

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -30,7 +30,7 @@ EXPOSE 7860
30
 
31
  # Health check
32
  HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
33
- CMD curl -f http://localhost:7860/health || exit 1
34
 
35
  # Run
36
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
30
 
31
  # Health check
32
  HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
33
+ CMD curl -f http://localhost:7860/api/health || exit 1
34
 
35
  # Run
36
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]