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

View File

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