From b38e6a7cbf8e64b077768d31bd39cae13eef0049 Mon Sep 17 00:00:00 2001 From: Roman Dodin Date: Tue, 20 Jun 2023 13:33:17 +0200 Subject: [PATCH] added user requirements --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 955816966..a0c03d8ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ && \