From f376963a55680117d67e4bae5b7948f76655233c Mon Sep 17 00:00:00 2001 From: Timo Wolf Date: Wed, 21 Aug 2024 12:59:54 +0200 Subject: [PATCH] Fix PyYAML --- Dockerfile | 4 ++-- constraint.txt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 constraint.txt diff --git a/Dockerfile b/Dockerfile index 14c70f2..cf30b30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,8 +4,8 @@ WORKDIR /usr/src/app RUN apk add --no-cache git -COPY requirements.txt ./ -RUN pip install --no-cache-dir -r requirements.txt +COPY requirements.txt constraint.txt ./ +RUN PIP_CONSTRAINT=constraint.txt pip install --no-cache-dir -r requirements.txt COPY . . diff --git a/constraint.txt b/constraint.txt new file mode 100644 index 0000000..20f73f1 --- /dev/null +++ b/constraint.txt @@ -0,0 +1 @@ +Cython < 3.0