Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Loading