Skip to content

Commit 834fd45

Browse files
author
Dmitry Berezovsky
committed
Set locale to be en_US.UTF-8
1 parent e1f9539 commit 834fd45

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@ RUN pip3 install virtualenv
1515
# Create virtual environment
1616
RUN cd /srv \
1717
&& virtualenv --python=python3 virtenv \
18-
&& chown app:app -R /srv/virtenv
18+
&& chown -R app:app /srv/virtenv
1919

20-
RUN mkdir $APPLICATION_DIR && chown app:app -R $APPLICATION_DIR && cd $APPLICATION_DIR
20+
RUN mkdir $APPLICATION_DIR && chown -R app:app $APPLICATION_DIR && cd $APPLICATION_DIR
2121

2222
USER app
2323
WORKDIR $APPLICATION_DIR
2424

25-
RUN echo "source /srv/virtenv/bin/activate" >> "/home/app/.bashrc"
25+
RUN echo "source /srv/virtenv/bin/activate" >> "/home/app/.bashrc" \
26+
&& echo "export LANG=en_US.utf8" >> /home/app/.bashrc
2627

2728
CMD ["/bin/bash"]
2829

0 commit comments

Comments
 (0)