Allow to configure locale for docker builds

This commit is contained in:
Dominik
2020-10-06 13:45:36 +02:00
parent cddf16874e
commit 2e62e7781c
3 changed files with 11 additions and 1 deletions

View File

@@ -12,7 +12,8 @@ FROM python AS sphinx_build
WORKDIR /app
COPY --from=composer /app /app
RUN pip3 install Sphinx sphinx_rtd_theme
RUN make html
ARG language=en
RUN make -e "SPHINXOPTS=-D language='${language}'" html
FROM nginx
WORKDIR /usr/share/nginx/html