Skip to content

Commit 740c2db

Browse files
committed
Compile translations in Dockerfile
1 parent 1675728 commit 740c2db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,9 @@ WORKDIR /app
44
COPY ./requirements.txt /app/
55
RUN pip install --no-cache-dir -r ./requirements.txt
66
COPY . /app
7+
8+
# Compile translations
9+
RUN pybabel compile -d translations
10+
711
ENV FLASK_APP=app
812
CMD ["flask", "run", "--host=0.0.0.0", "--port=5001"]

0 commit comments

Comments
 (0)