Spaces:
Running
Running
Download Dockerfile from Alialdlfy1/Teleautoadminbot: direct link, hf CLI and curl.
- Browser
- Download file 378 Bytes
-
https://huggingface.co/spaces/Alialdlfy1/Teleautoadminbot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Alialdlfy1/Teleautoadminbot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Alialdlfy1/Teleautoadminbot/resolve/main/Dockerfile
378 Bytes
| FROM python:3.11-slim | |
| WORKDIR /code | |
| # إنشاء مجلد البيانات الدائمة | |
| RUN mkdir -p /data | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| # ضمان توافق الأسطر وإعطاء صلاحية التشغيل لملف start.sh | |
| RUN sed -i 's/\r$//' /code/start.sh && chmod +x /code/start.sh | |
| CMD ["/code/start.sh"] |