From 959d8c1b5401e0758e6c063fb3035e33e3426c97 Mon Sep 17 00:00:00 2001 From: Tolmachev Igor Date: Thu, 26 Mar 2026 16:33:21 +0300 Subject: Fix locales in docker --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 0a9a6fd..4a1ddad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,11 @@ FROM python:latest +RUN apt update +RUN apt install locales -y +RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen +RUN sed -i -e 's/# ru_RU.UTF-8 UTF-8/ru_RU.UTF-8 UTF-8/' /etc/locale.gen +RUN locale-gen + WORKDIR /app COPY requirements.txt . RUN pip install pip -U -- cgit v1.3