diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0ed372f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +FROM python:3.12-slim + +# تثبيت المكتبات العربية الأساسية +RUN apt-get update && apt-get install -y \ + locales \ + && echo "ar_SA.UTF-8 UTF-8" > /etc/locale.gen \ + && locale-gen \ + && rm -rf /var/lib/apt/lists/* + +ENV LANG=ar_SA.UTF-8 +ENV LC_ALL=ar_SA.UTF-8 + +WORKDIR /app + +COPY requirements.txt . +RUN pip install --no-cache-dir -r requirements.txt + +COPY . . + +CMD ["python", "main.py"]