'Django in Docker: is GNU gettext tools only required in dev?
I'm building a Django app with Docker.
I have 2 dockerfile
s, one for dev and one for prod.
To use Django's i18n, it's required to install "GNU gettext tools". I could add lines to dockerfile.dev
to install this
RUN apt update
RUN apt install gettext -y
However, do I need this tool also installed in prod?
Solution 1:[1]
It shouldn't be necessary, as you're just using the gettext to create the translations and compile them.
hope this helps.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Felipe |