Update Dockerfile

هذا الالتزام موجود في:
2026-08-05 10:32:33 +00:00
الأصل e16cf1dbd1
التزام 59afe953a0

عرض الملف

@@ -1,20 +1,8 @@
FROM python:3.12-slim 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/*
# تثبيت المكتبات العربية الأساسية
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 LANG=ar_SA.UTF-8
ENV LC_ALL=ar_SA.UTF-8
WORKDIR /app WORKDIR /app
COPY requirements.txt . COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
COPY . . COPY . .
CMD ['python','main.py']
CMD ["python", "main.py"]