Skip to content

Commit

Permalink
Docker image size reduction
Browse files Browse the repository at this point in the history
Getting rid of pip cache eliminated around 150MB of data
  • Loading branch information
obilodeau committed Nov 5, 2019
1 parent 10fb687 commit cc49fdf
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 @@ -19,7 +19,7 @@ RUN apt-get update && apt-get install -y \
COPY . /pyrdp

RUN cd /pyrdp \
&& pip3 install -e . -U
&& pip3 --no-cache-dir install -e . -U

# Create user
RUN useradd --create-home --home-dir /home/pyrdp pyrdp
Expand Down

0 comments on commit cc49fdf

Please sign in to comment.