Skip to content

Commit

Permalink
Generate language files in Docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
shsdev committed Jul 31, 2020
1 parent fa707bc commit d7ce1ff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ ADD . /earkweb
# make sure the docker settings are used in the container
COPY ./settings/settings.cfg.docker /earkweb/settings/settings.cfg

# i18n
RUN apt-get install gettext -y
RUN cd /earkweb && django-admin makemessages -l en
RUN cd /earkweb && django-admin makemessages -l de
RUN cd /earkweb && django-admin compilemessages

# entry point
RUN chmod +x /earkweb/run_all.sh
ENTRYPOINT ["/earkweb/run_all.sh"]
Expand Down

1 comment on commit d7ce1ff

@shsdev
Copy link
Contributor Author

@shsdev shsdev commented on d7ce1ff Jul 31, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit d7ce1ff addresses issue #55

Please sign in to comment.