Spaces:
Paused
Paused
Download Dockerfile from Tehma/ReminderBot: direct link, hf CLI and curl.
- Browser
- Download file 307 Bytes
-
https://huggingface.co/spaces/Tehma/ReminderBot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Tehma/ReminderBot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Tehma/ReminderBot/resolve/main/Dockerfile
307 Bytes
| FROM python:3.11 | |
| # Tạo thư mục làm việc | |
| WORKDIR /code | |
| # Sao chép file yêu cầu và cài đặt | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Sao chép toàn bộ mã nguồn vào container | |
| COPY . . | |
| # Lệnh để chạy bot | |
| CMD ["python", "bot.py"] |