Skip to content

Commit

Permalink
Support Cyrilic input in the rails console on production server
Browse files Browse the repository at this point in the history
  • Loading branch information
mpugach committed Mar 8, 2023
1 parent db8eb50 commit 3aa39ed
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/akadem_students/Dockerfile
Expand Up @@ -20,6 +20,7 @@ RUN apt-get update \
imagemagick \
lsb-release \
netcat \
locales \
&& echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" \
> /etc/apt/sources.list.d/pgdg.list \
&& curl -L https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
Expand All @@ -35,6 +36,10 @@ RUN apt-get update \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN localedef -i uk_UA -c -f UTF-8 -A /usr/share/locale/locale.alias uk_UA.UTF-8

ENV LANG=uk_UA.utf8

WORKDIR $PROJECT_HOME
# ______________________________________________________________________________________________________________________

Expand Down

0 comments on commit 3aa39ed

Please sign in to comment.