openeducat / Dockerfile
ahmedsalte's picture
Update Dockerfile
94af930 verified
Raw History Blame Contribute Delete
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"]