Download Dockerfile from nayminsan/tgbot: direct link, hf CLI and curl.
- Browser
- Download file 213 Bytes
-
https://huggingface.co/spaces/nayminsan/tgbot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/nayminsan/tgbot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/nayminsan/tgbot/resolve/main/Dockerfile
213 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| # Hugging Face Spaces environment variable for port | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |