Spaces:
Sleeping
Sleeping
Download Dockerfile from allboot/CastleInfoiq: direct link, hf CLI and curl.
- Browser
- Download file 551 Bytes
-
https://huggingface.co/spaces/allboot/CastleInfoiq/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/allboot/CastleInfoiq/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/allboot/CastleInfoiq/resolve/main/Dockerfile
551 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # تثبيت شهادات SSL — ضروري للاتصال بـ Facebook API | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| ca-certificates \ | |
| && update-ca-certificates \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| # منح صلاحية التنفيذ لسكريبت التشغيل | |
| RUN chmod +x start.sh | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| # يشغّل app.py و facebook_bridge.py معاً | |
| CMD ["bash", "start.sh"] | |