sixfingerdev commited on
Commit
c75fd5a
·
verified ·
1 Parent(s): fbb8d90

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -15,7 +15,7 @@ COPY requirements.txt .
15
  RUN pip install --no-cache-dir --upgrade pip && \
16
  pip install --no-cache-dir -r requirements.txt
17
 
18
- # Copy application
19
  COPY app.py .
20
 
21
  # Hugging Face Spaces PORT
@@ -28,5 +28,5 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
28
  # Expose port
29
  EXPOSE 7860
30
 
31
- # Run application
32
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1"]
 
15
  RUN pip install --no-cache-dir --upgrade pip && \
16
  pip install --no-cache-dir -r requirements.txt
17
 
18
+ # Copy application (HF bekliyor app.py)
19
  COPY app.py .
20
 
21
  # Hugging Face Spaces PORT
 
28
  # Expose port
29
  EXPOSE 7860
30
 
31
+ # Run application (app.py dosyasından app objesini çalıştır)
32
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1", "--log-level", "info"]