install locales

This commit is contained in:
Administrator 2023-04-08 14:54:55 +03:00
parent 6f5c39c638
commit ad78952811

View File

@ -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 . .