Download Dockerfile from wpms/bot: direct link, hf CLI and curl.
- Browser
- Download file 209 Bytes
-
https://huggingface.co/spaces/wpms/bot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/wpms/bot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/wpms/bot/resolve/main/Dockerfile
209 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy bot files | |
| COPY main.py . | |
| # Run the bot | |
| CMD ["python", "main.py"] | |