vineelagampa commited on
Commit
732e860
·
verified ·
1 Parent(s): 86fc6c2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -61,7 +61,7 @@ RUN mkdir -p /cache/hf /tmp && chmod -R 777 /cache /tmp
61
  EXPOSE 7860
62
 
63
  HEALTHCHECK --interval=30s --timeout=10s --retries=3 \
64
- CMD curl -fsS "http://127.0.0.1:${PORT:-7860}/health/" || exit 1
65
 
66
  # ✅ bind to $PORT provided by HF; include proxy headers
67
  CMD ["sh","-c","uvicorn backend:app --host 0.0.0.0 --port ${PORT:-7860} --proxy-headers --forwarded-allow-ips='*'"]
 
61
  EXPOSE 7860
62
 
63
  HEALTHCHECK --interval=30s --timeout=10s --retries=3 \
64
+ CMD curl -fsS "http://127.0.0.1:${PORT:-7860}/api/health/" || exit 1
65
 
66
  # ✅ bind to $PORT provided by HF; include proxy headers
67
  CMD ["sh","-c","uvicorn backend:app --host 0.0.0.0 --port ${PORT:-7860} --proxy-headers --forwarded-allow-ips='*'"]