Skip to content

Commit

Permalink
Merge pull request #3237 from SDN-Projects/optimization/pip-no-cache-dir
Browse files Browse the repository at this point in the history
chore : use --no-cache-dir flag to pip in dockerfiles to save space
  • Loading branch information
grossmj authored Sep 23, 2021
2 parents 334eb51 + 4ea24e6 commit f26c638
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 @@ -8,7 +8,7 @@ RUN apt-get clean

ADD dev-requirements.txt /dev-requirements.txt
ADD requirements.txt /requirements.txt
RUN pip3 install -r /dev-requirements.txt
RUN pip3 install --no-cache-dir -r /dev-requirements.txt

ADD . /src
WORKDIR /src
Expand Down

0 comments on commit f26c638

Please sign in to comment.