Spaces:
Runtime error
Runtime error
Delete Dockerfile
Browse files- Dockerfile +0 -27
Dockerfile
DELETED
|
@@ -1,27 +0,0 @@
|
|
| 1 |
-
# ---- Base Python Image ----
|
| 2 |
-
FROM python:3.11-slim
|
| 3 |
-
|
| 4 |
-
# ---- System Dependencies (required for PyMuPDF, moviepy, whisper, ffmpeg etc.) ----
|
| 5 |
-
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 6 |
-
ffmpeg \
|
| 7 |
-
libgl1 \
|
| 8 |
-
libglib2.0-0 \
|
| 9 |
-
&& rm -rf /var/lib/apt/lists/*
|
| 10 |
-
|
| 11 |
-
# ---- Working Directory ----
|
| 12 |
-
WORKDIR /app
|
| 13 |
-
|
| 14 |
-
# ---- Copy requirements first (better Docker caching) ----
|
| 15 |
-
COPY requirements.txt .
|
| 16 |
-
|
| 17 |
-
RUN pip install --upgrade pip && \
|
| 18 |
-
pip install --no-cache-dir -r requirements.txt
|
| 19 |
-
|
| 20 |
-
# ---- Copy application files ----
|
| 21 |
-
COPY . .
|
| 22 |
-
|
| 23 |
-
# ---- Expose default HF port ----
|
| 24 |
-
EXPOSE 7860
|
| 25 |
-
|
| 26 |
-
# ---- Run the FastAPI app ----
|
| 27 |
-
CMD ["python3", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|