mirror of
https://github.com/tiyn/beaker-blog.git
synced 2025-10-10 09:51:17 +02:00
added language support for german
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -8,6 +8,16 @@ WORKDIR /blog
|
||||
|
||||
RUN pip3 install -r requirements.txt
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y locales && \
|
||||
sed -i -e 's/# de_DE.UTF-8 UTF-8/de_DE.UTF-8 UTF-8/' /etc/locale.gen && \
|
||||
sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
|
||||
dpkg-reconfigure --frontend=noninteractive locales
|
||||
|
||||
ENV LANG en_US.UTF-8
|
||||
ENV LANGUAGE en_US:en
|
||||
ENV LC_ALL en_US.UTF-8
|
||||
|
||||
VOLUME /blog/templates/entry
|
||||
|
||||
VOLUME /blog/static/graphics
|
||||
|
Reference in New Issue
Block a user