Skip to content

Commit

Permalink
add --no-cache-dir to pip install in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
andmat900 committed Sep 30, 2024
1 parent 7f77f9a commit a48140d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM python:3.9-bookworm AS build

COPY . /src
WORKDIR /src/python
RUN pip install build==1.2.2 && python3 -m build
RUN pip install --no-cache-dir build==1.2.2 && python3 -m build

FROM python:3.9-slim-bookworm
ARG TZ
Expand Down

0 comments on commit a48140d

Please sign in to comment.