Make sure the doc builder has the dependencies it needs.

This commit is contained in:
Dave Page
2021-02-01 10:52:41 +00:00
parent ad656a9d41
commit 921c0ac71a

View File

@@ -66,22 +66,18 @@ RUN npm install && \
FROM python:3.9-alpine3.12 as docs-builder 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 \ RUN apk add --no-cache \
make \ make \
build-base \ build-base \
openssl-dev \ openssl-dev \
libffi-dev && \ libffi-dev \
postgresql-dev \
krb5-dev && \
pip install --no-cache-dir \ pip install --no-cache-dir \
sphinx \ sphinx && \
flask_security_too \ pip install --no-cache-dir -r requirements.txt
flask_paranoid \
python-dateutil \
flask_sqlalchemy \
flask_gravatar \
flask_migrate \
simplejson \
cryptography
# Copy the docs from the local tree. Explicitly remove any existing builds that # Copy the docs from the local tree. Explicitly remove any existing builds that
# may be present # may be present