Spaces:
Runtime error
Runtime error
Download Dockerfile from Anoar2025/NewCoinListingsBot: direct link, hf CLI and curl.
- Browser
- Download file 466 Bytes
-
https://huggingface.co/spaces/Anoar2025/NewCoinListingsBot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Anoar2025/NewCoinListingsBot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Anoar2025/NewCoinListingsBot/resolve/main/Dockerfile
466 Bytes
| # استخدام صورة بايثون خفيفة | |
| FROM python:3.10-slim | |
| # تعيين مجلد العمل داخل الحاوية | |
| WORKDIR /app | |
| # نسخ ملف المتطلبات وتثبيت الحزم | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # نسخ باقي ملفات المشروع (ملف البوت الرئيسي) | |
| COPY . . | |
| # الأمر الذي سيتم تنفيذه عند بدء الحاوية | |
| CMD ["python", "main.py"] |