Skip to content

Commit

Permalink
Use --no-cache--dir
Browse files Browse the repository at this point in the history
  • Loading branch information
esanchezm committed Jan 13, 2024
1 parent 927849f commit 30de81c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ FROM python:3.12-alpine
WORKDIR /code
COPY pyproject.toml pdm.lock README.md ./
COPY qbittorrent_exporter ./qbittorrent_exporter
RUN pip install . \
&& rm -rf /root/.cache/pip
RUN pip install --no-cache-dir .

ENV QBITTORRENT_HOST=""
ENV QBITTORRENT_PORT=""
Expand Down

0 comments on commit 30de81c

Please sign in to comment.