Spaces:
Runtime error
Runtime error
Download Dockerfile from laurentthomas/sonaria: direct link, hf CLI and curl.
- Browser
- Download file 287 Bytes
-
https://huggingface.co/spaces/laurentthomas/sonaria/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/laurentthomas/sonaria/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/laurentthomas/sonaria/resolve/main/Dockerfile
287 Bytes
| FROM python:3.11-slim | |
| RUN apt-get update && apt-get install -y ffmpeg && rm -rf /var/lib/apt/lists/* | |
| RUN pip install --no-cache-dir birdnet-analyzer fastapi uvicorn python-multipart | |
| WORKDIR /app | |
| COPY app.py . | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |