From e7662d3c777157a6632fc8b0345ddde0376dc0fe Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 8 Nov 2021 12:15:02 +0100 Subject: [PATCH] Add necessary dependencies for exports into Docker image Signed-off-by: Thomas Citharel --- docker/production/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/production/Dockerfile b/docker/production/Dockerfile index 2d33ae3df..05a898c78 100644 --- a/docker/production/Dockerfile +++ b/docker/production/Dockerfile @@ -48,7 +48,8 @@ LABEL org.opencontainers.image.title="mobilizon" \ org.opencontainers.image.revision=$VCS_REF \ org.opencontainers.image.created=$BUILD_DATE -RUN apk add --no-cache openssl ca-certificates ncurses-libs file postgresql-client libgcc libstdc++ imagemagick +RUN apk add --no-cache openssl ca-certificates ncurses-libs file postgresql-client libgcc libstdc++ imagemagick python3 py3-pip py3-pillow py3-cffi py3-brotli gcc musl-dev python3-dev pango libxslt-dev +RUN pip install weasyprint pyexcel-ods3 RUN mkdir -p /app/uploads && chown nobody:nobody /app/uploads RUN mkdir -p /etc/mobilizon && chown nobody:nobody /etc/mobilizon