Update Dockerfile
هذا الالتزام موجود في:
16
Dockerfile
16
Dockerfile
@@ -1,20 +1,8 @@
|
||||
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 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"]
|
||||
CMD ['python','main.py']
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم