diff --git a/Dockerfile b/Dockerfile index 586ee6f0300535e84f00098951d7efe0372ccc80..0f751913dfb85c28adc65ab3cb7342d44221976e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,16 +4,14 @@ FROM eclipse-temurin:11-alpine ### 2. Get Python, PIP ENV PYTHONUNBUFFERED=1 -RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python -RUN python3 -m ensurepip -RUN pip3 install --no-cache --upgrade pip setuptools +RUN apk add --update --no-cache python3 py3-pip py3-setuptools && ln -sf python3 /usr/bin/python # 3. Copy the python dependencies definition and install it RUN mkdir /home/soil-backend WORKDIR /home/soil-backend COPY ./requirements.txt . -RUN pip3 install -r requirements.txt +RUN pip3 install -r requirements.txt --break-system-package # 4. Copy all required source files and resources (i.e., the jar-build of the Monticore based SOIL tool)