Spaces:
Sleeping
Sleeping
Download Dockerfile from JuanCS-Dev/twitch-byte-bot: direct link, hf CLI and curl.
- Browser
- Download file 256 Bytes
-
https://huggingface.co/spaces/JuanCS-Dev/twitch-byte-bot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/JuanCS-Dev/twitch-byte-bot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/JuanCS-Dev/twitch-byte-bot/resolve/main/Dockerfile
256 Bytes
| FROM python:3.12-slim | |
| WORKDIR /app | |
| COPY bot/requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY bot/ /app/bot/ | |
| COPY dashboard/ /app/dashboard/ | |
| # HF Spaces requires port 7860 | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["python", "-m", "bot.main"] | |