Spaces:
Sleeping
Sleeping
Download Dockerfile from EGAuto/EGDownloader-API: direct link, hf CLI and curl.
- Browser
- Download file 598 Bytes
-
https://huggingface.co/spaces/EGAuto/EGDownloader-API/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/EGAuto/EGDownloader-API/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/EGAuto/EGDownloader-API/resolve/main/Dockerfile
598 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY main.py . | |
| RUN mkdir -p videos | |
| # ── Env vars to set at runtime ────────────────────────────────────────────── | |
| # PUBLIC_URL = https://your-api.hf.space (where n8n sends callbacks) | |
| # GITHUB_TOKEN = ghp_... | |
| # GITHUB_REPO = owner/repo | |
| # N8N_TRIGGER_URL = https://egauto-n8n.hf.space/webhook/... | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] | |