thisisgini commited on
Commit
d581838
·
verified ·
1 Parent(s): 28b105a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -72,8 +72,8 @@ ENV PATH="/app/.venv/bin:$PATH"
72
  ENV PYTHONPATH="/app/env:$PYTHONPATH"
73
 
74
  # Health check
75
- HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
76
- CMD curl -f http://localhost:8000/health || exit 1
77
 
78
  # Run the FastAPI server
79
  # The module path is constructed to work with the /app/env structure
 
72
  ENV PYTHONPATH="/app/env:$PYTHONPATH"
73
 
74
  # Health check
75
+ HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=3 \
76
+ CMD curl -f http://localhost:7860/health || exit 1
77
 
78
  # Run the FastAPI server
79
  # The module path is constructed to work with the /app/env structure