Skip to content

Commit

Permalink
removes python cache files from docker container builds
Browse files Browse the repository at this point in the history
  • Loading branch information
bb-Ricardo committed Jul 13, 2024
1 parent 5979454 commit fcf042a
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 @@ -12,7 +12,7 @@ COPY fritzinfluxdb /app/fritzinfluxdb

# Install any needed packages specified in requirements.txt
RUN apt-get update && apt-get install -y --no-install-recommends gcc g++ && \
pip install --trusted-host pypi.python.org -r requirements.txt && \
PYTHONDONTWRITEBYTECODE=1 pip install --no-compile --no-cache-dir -r requirements.txt && \
apt-get remove --yes gcc g++ && \
apt-get clean autoclean && \
apt-get autoremove --yes && \
Expand Down

0 comments on commit fcf042a

Please sign in to comment.