Make sure the doc builder has the dependencies it needs.

pull/40/head
Dave Page 2021-02-01 10:52:41 +00:00
parent ad656a9d41
commit 921c0ac71a
1 changed files with 7 additions and 11 deletions

View File

@ -66,22 +66,18 @@ RUN npm install && \
FROM python:3.9-alpine3.12 as docs-builder
# Install only dependencies absolutely required for documentation building
# Install dependencies
COPY requirements.txt /
RUN apk add --no-cache \
make \
build-base \
openssl-dev \
libffi-dev && \
libffi-dev \
postgresql-dev \
krb5-dev && \
pip install --no-cache-dir \
sphinx \
flask_security_too \
flask_paranoid \
python-dateutil \
flask_sqlalchemy \
flask_gravatar \
flask_migrate \
simplejson \
cryptography
sphinx && \
pip install --no-cache-dir -r requirements.txt
# Copy the docs from the local tree. Explicitly remove any existing builds that
# may be present