ArabicNewsAnalyzer commited on
Commit
a5881ab
·
verified ·
1 Parent(s): 2deb949

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -20,9 +20,9 @@ RUN pip install --no-cache-dir -r requirements.txt
20
  # Copy application code
21
  COPY . .
22
 
23
- EXPOSE 8000
24
 
25
  HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
26
- CMD curl -f http://localhost:8000/health || exit 1
27
 
28
- CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
 
20
  # Copy application code
21
  COPY . .
22
 
23
+ EXPOSE 7860
24
 
25
  HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
26
+ CMD curl -f http://localhost:7860/health || exit 1
27
 
28
+ CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]