Spaces:
Sleeping
Sleeping
Download Dockerfile from benhong/blt-patch-view: direct link, hf CLI and curl.
- Browser
- Download file 364 Bytes
-
https://huggingface.co/spaces/benhong/blt-patch-view/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/benhong/blt-patch-view/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/benhong/blt-patch-view/resolve/main/Dockerfile
364 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Install system deps (ffmpeg for audio playback + build essentials for librosa) | |
| RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg build-essential && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| ENV PORT=8080 | |
| CMD ["python", "app.py"] | |