Download Dockerfile from Sergidev/mp3db: direct link, hf CLI and curl.
- Browser
- Download file 347 Bytes
-
https://huggingface.co/spaces/Sergidev/mp3db/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Sergidev/mp3db/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Sergidev/mp3db/resolve/main/Dockerfile
347 Bytes
| FROM python:3.12 | |
| # Install system dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| ffmpeg \ | |
| libmagic1 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| COPY . . | |
| CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"] |