From d75c80027562b5e80ebdeeed0c8b2d8a27d44884 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Mon, 10 Apr 2023 17:30:11 +0200 Subject: [PATCH] Because django-cas-server forbids Django 4.2, we must do a small trick to allow it. Remove when not necessary anymore Signed-off-by: Emmy D'Anello --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 27ec0ec..cd80c53 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,8 @@ COPY requirements.txt /code/requirements.txt COPY docs/requirements.txt /code/docs/requirements.txt RUN pip install -r requirements.txt --no-cache-dir RUN pip install -r docs/requirements.txt --no-cache-dir +# FIXME Remove this line when all dependencies will be ready +RUN pip install "Django>=4.2,<5.0" COPY . /code/