Download Dockerfile from PPAL-SongLab-UGA/watermelon-proxy: direct link, hf CLI and curl.
- Browser
- Download file 233 Bytes
-
https://huggingface.co/spaces/PPAL-SongLab-UGA/watermelon-proxy/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/PPAL-SongLab-UGA/watermelon-proxy/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/PPAL-SongLab-UGA/watermelon-proxy/resolve/main/Dockerfile
233 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| # Hugging Face Spaces MUST run on port 7860 | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |