diff --git a/Dockerfile b/Dockerfile index d413ab829..8fb4772ef 100755 --- a/Dockerfile +++ b/Dockerfile @@ -38,7 +38,7 @@ COPY ./requirements.txt /usr/src/app/ # Save the pip cache with docker mount: https://docs.docker.com/build/cache/#keep-layers-small # (specify the architecture in the cache id, otherwise the pip cache of different architectures will conflict) RUN --mount=type=cache,id=pip-${TARGETARCH}-${TARGETVARIANT},sharing=locked,target=/root/.cache/pip \ - pip install -r /usr/src/app/requirements.txt + pip install --disable-pip-version-check -r /usr/src/app/requirements.txt ################################### # Runtime image @@ -58,7 +58,7 @@ RUN --mount=type=cache,id=pip-${TARGETARCH}-${TARGETVARIANT},sharing=locked,targ # Mount the project directory containing the built Python package, so it is available for pip install inside the container --mount=type=bind,source=./dist/,target=/usr/src/app/ \ # Install the package - pip install *.whl + pip --disable-pip-version-check install *.whl # Copy sample configuration directory and entrypoint script COPY ./conf ./conf