Download Dockerfile from luguog/F.art: direct link, hf CLI and curl.
- Browser
- Download file 492 Bytes
-
https://huggingface.co/spaces/luguog/F.art/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/luguog/F.art/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/luguog/F.art/resolve/main/Dockerfile
492 Bytes
| FROM python:3.10-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| HF_HUB_DISABLE_TELEMETRY=1 | |
| # Minimal system deps; NO dev FFmpeg headers (prevents PyAV build path entirely) | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| ffmpeg libsndfile1 git \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt ./ | |
| RUN pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt | |
| COPY app.py ./ | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] |