File tree 3 files changed +10
-1
lines changed
3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ local.env
32
32
venv /
33
33
/src /assets /
34
34
local.db
35
+ * .mo
35
36
36
37
# NPM
37
38
node_modules /
Original file line number Diff line number Diff line change 1
- FROM python:3.6
1
+ FROM python:3.6-buster
2
2
3
3
ENV PYTHONUNBUFFERED 1
4
4
ENV BASE_DIR /usr/local
@@ -15,6 +15,13 @@ ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH
15
15
# Add bin directory used by `pip install --user`
16
16
ENV PATH "/home/docker/.local/bin:${PATH}"
17
17
18
+ # Infrastructure tools
19
+ # gettext is used for django to compile .po to .mo files.
20
+ RUN apt-get update
21
+ RUN apt-get install apt-utils -y
22
+ RUN apt-get update
23
+ RUN apt-get install gettext python3-pip -y
24
+
18
25
# Install Node and Yarn from upstream
19
26
RUN curl -o- $NVM_INSTALLER_URL | bash \
20
27
&& . $NVM_DIR/nvm.sh \
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ services:
11
11
- -c
12
12
- |
13
13
set -o errexit -o nounset -o pipefail
14
+ python3 manage.py compilemessages
14
15
python3 manage.py migrate
15
16
python3 manage.py collectstatic --no-input
16
17
You can’t perform that action at this time.
0 commit comments