From ad78952811ebd99905bd8a162f6131a21c7e47d4 Mon Sep 17 00:00:00 2001 From: Administrator Date: Sat, 8 Apr 2023 14:54:55 +0300 Subject: [PATCH] install locales --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1f1cffe..a4885aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,13 @@ FROM python:3.10 RUN mkdir /usr/src/app WORKDIR /usr/src/app +RUN apt-get update +RUN apt-get upgrade -y +RUN apt-get install -y language-pack-ru +ENV LANGUAGE ru_RU.UTF-8 +ENV LANG ru_RU.UTF-8 +ENV LC_ALL ru_RU.UTF-8 +RUN locale-gen ru_RU.UTF-8 && dpkg-reconfigure locales COPY requirements.txt requirements.txt RUN pip install -r requirements.txt COPY . .