# ══════════════════════════════════════════════════════════════ # Games In Arabic Bot — Dockerfile # يدعم التشغيل على أي خادم أو Hugging Face Spaces # ══════════════════════════════════════════════════════════════ FROM python:3.11-slim # معلومات الصورة LABEL maintainer="Games In Arabic" LABEL description="Telegram Bot for Arabic Gamers — Translations, Free Games, Specs" LABEL version="2.0.1" # تعيين مجلد العمل WORKDIR /app # تثبيت المتطلبات النظامية RUN apt-get update && apt-get install -y --no-install-recommends \ gcc \ && rm -rf /var/lib/apt/lists/* # تثبيت تبعيات Python COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # نسخ ملفات المشروع COPY . . # إنشاء مجلدات ضرورية RUN mkdir -p logs # المنافذ # 7860: Flask keep-alive (Hugging Face) EXPOSE 7860 # متغيرات البيئة الافتراضية ENV PYTHONUNBUFFERED=1 ENV TZ=Africa/Cairo # تشغيل البوت CMD ["python", "main.py"]