diff --git a/exact/Dockerfile b/exact/Dockerfile index 58946123..505bd481 100644 --- a/exact/Dockerfile +++ b/exact/Dockerfile @@ -1,5 +1,5 @@ # pull official base image -FROM ubuntu:18.04 as builder +FROM ubuntu:22.04 as builder # set work directory WORKDIR /usr/src/exact @@ -14,7 +14,7 @@ ENV PYTHONUNBUFFERED 1 # install dependencies RUN pip3 install --upgrade pip -RUN pip3 install numpy==1.19.4 +RUN pip3 install numpy==1.26.0 COPY ./requirements.txt /usr/src/exact/requirements.txt RUN pip3 install -r requirements.txt diff --git a/exact/Dockerfile.iSyntax b/exact/Dockerfile.iSyntax index 86ae77f2..13e219f8 100644 --- a/exact/Dockerfile.iSyntax +++ b/exact/Dockerfile.iSyntax @@ -1,5 +1,5 @@ # pull official base image -FROM ubuntu:18.04 as builder +FROM ubuntu:22.04 as builder # set work directory WORKDIR /usr/src/exact @@ -14,7 +14,7 @@ ENV PYTHONUNBUFFERED 1 # install dependencies RUN pip3 install --upgrade pip -RUN pip3 install numpy==1.19.4 +RUN pip3 install numpy==1.26.0 COPY ./requirements.txt /usr/src/exact/requirements.txt RUN pip3 install -r requirements.txt diff --git a/exact/Dockerfile.iSyntax.prod b/exact/Dockerfile.iSyntax.prod index 64d45dc1..275a1135 100644 --- a/exact/Dockerfile.iSyntax.prod +++ b/exact/Dockerfile.iSyntax.prod @@ -4,7 +4,7 @@ # pull official base image -FROM ubuntu:18.04 as builder +FROM ubuntu:22.04 as builder # set work directory WORKDIR /usr/src/app @@ -46,7 +46,7 @@ RUN chmod +x /usr/src/app/entrypoint.prod.sh ######### -FROM ubuntu:18.04 +FROM ubuntu:22.04 # create directory for the app user RUN mkdir -p /home/app @@ -74,7 +74,7 @@ RUN apt-get update && apt-get install -y python3-pip python3-opencv python3-ope COPY --from=builder /usr/src/app/wheels /wheels COPY --from=builder /usr/src/app/requirements.txt . RUN pip3 install --upgrade pip -RUN pip3 install numpy==1.19.4 +RUN pip3 install numpy==1.26.0 RUN pip3 install --no-cache /wheels/* diff --git a/exact/Dockerfile.prod b/exact/Dockerfile.prod index c478293b..4e7b3bee 100644 --- a/exact/Dockerfile.prod +++ b/exact/Dockerfile.prod @@ -4,7 +4,7 @@ # pull official base image -FROM ubuntu:18.04 as builder +FROM ubuntu:22.04 as builder # set work directory WORKDIR /usr/src/app @@ -46,7 +46,7 @@ RUN chmod +x /usr/src/app/entrypoint.prod.sh ######### -FROM ubuntu:18.04 +FROM ubuntu:22.04 # create directory for the app user RUN mkdir -p /home/app @@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y python3-pip python3-openslide libvips l COPY --from=builder /usr/src/app/wheels /wheels COPY --from=builder /usr/src/app/requirements.txt . RUN pip3 install --upgrade pip -RUN pip3 install numpy==1.19.4 +RUN pip3 install numpy==1.26.0 RUN pip3 install --no-cache /wheels/* diff --git a/exact/Dockerfile.prod.aws-db b/exact/Dockerfile.prod.aws-db index 4dd8fd83..05931619 100644 --- a/exact/Dockerfile.prod.aws-db +++ b/exact/Dockerfile.prod.aws-db @@ -4,7 +4,7 @@ # pull official base image -FROM ubuntu:18.04 as builder +FROM ubuntu:22.04 as builder # set work directory WORKDIR /usr/src/app @@ -46,7 +46,7 @@ RUN chmod +x /usr/src/app/entrypoint.prod.sh ######### -FROM ubuntu:18.04 +FROM ubuntu:22.04 # create directory for the app user RUN mkdir -p /home/app @@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y python3-pip python3-openslide python3-o COPY --from=builder /usr/src/app/wheels /wheels COPY --from=builder /usr/src/app/requirements.txt . RUN pip3 install --upgrade pip -RUN pip3 install numpy==1.19.4 +RUN pip3 install numpy==1.26.0 RUN pip3 install --no-cache /wheels/* diff --git a/exact/requirements.txt b/exact/requirements.txt index 9a73c713..566a62c2 100644 --- a/exact/requirements.txt +++ b/exact/requirements.txt @@ -7,6 +7,7 @@ confusable-homoglyphs==3.2.0 drf-flex-fields==1.0.2 +Django==3.2.11 django-appconf==1.0.5 django-extensions==3.2.3 django-filter==23.2