Shoaib-33 commited on
Commit
5f17e3d
·
verified ·
1 Parent(s): 8058e7e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -25,9 +25,9 @@ COPY .env.example ./.env.example
25
 
26
  RUN mkdir -p /app/data/uploads /app/.cache/huggingface
27
 
28
- EXPOSE 8000
29
 
30
- HEALTHCHECK --interval=30s --timeout=10s --start-period=90s --retries=3 \
31
- CMD curl -fsS http://127.0.0.1:8000/api/health || exit 1
32
 
33
- CMD ["python", "-m", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
 
25
 
26
  RUN mkdir -p /app/data/uploads /app/.cache/huggingface
27
 
28
+ EXPOSE 7860
29
 
30
+ HEALTHCHECK --interval=30s --timeout=10s --start-period=180s --retries=3 \
31
+ CMD curl -fsS http://127.0.0.1:7860/api/health || exit 1
32
 
33
+ CMD ["python", "-m", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]