Spaces:
Build error
Build error
Download Dockerfile from alkon-edu/openeducat: direct link, hf CLI and curl.
- Browser
- Download file 816 Bytes
-
https://huggingface.co/spaces/alkon-edu/openeducat/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/alkon-edu/openeducat/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/alkon-edu/openeducat/resolve/main/Dockerfile
816 Bytes
| # استخدام نسخة Odoo الرسمية المهيأة لنظام OpenEduCat | |
| FROM odoo:16.0 | |
| USER root | |
| # تثبيت الحزم الإضافية والمكتبات التي يحتاجها نظام إدارة المدارس | |
| RUN apt-get update && apt update && apt-get install -y --no-install-recommends \ | |
| python3-pip \ | |
| git \ | |
| && apt-get clean && rm -rf /var/lib/apt/lists/* | |
| # تحميل تطبيق OpenEduCat المفتوح المصدر وتثبيته في مجلد الإضافات | |
| RUN git clone --depth 1 --branch 16.0 https://github.com/openeducat/openeducat-addons.git /mnt/extra-addons/openeducat | |
| # تهيئة المنفذ الافتراضي لمنصة Hugging Face | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| # تشغيل النظام تلقائياً | |
| CMD ["odoo", "--http-port=7860", "--save", "--init=base"] |