1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-09-24 03:18:21 +02:00

added user requirements

This commit is contained in:
Roman Dodin 2023-06-20 13:33:17 +02:00 committed by GitHub
parent a8287eba1b
commit b38e6a7cbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ WORKDIR /tmp
COPY material material
COPY package.json package.json
COPY README.md README.md
COPY requirements.txt requirements.txt
COPY *requirements.txt ./
COPY pyproject.toml pyproject.toml
# Perform build and cleanup artifacts and caches
@ -66,6 +66,8 @@ RUN \
"pillow>=9.0" \
"cairosvg>=2.5"; \
fi \
&& \
[ -e user-requirements.txt ] && pip install -r user-requirements.txt \
&& \
apk del .build \
&& \