Skip to content

Commit

Permalink
Remove not needed apt-get update in Dockerfile
Browse files Browse the repository at this point in the history
There's no need to wait and waste the time and bandwidth to wait for `apt-get update` for `pip3 install` ;)
  • Loading branch information
PeterDaveHello authored Aug 26, 2024
1 parent 9e111a3 commit a5dda7a
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 @@ -7,8 +7,7 @@
FROM python:3.12-slim-bullseye as build
WORKDIR /sherlock

RUN apt-get update \
pip3 install --no-cache-dir --upgrade pip
RUN pip3 install --no-cache-dir --upgrade pip

FROM python:3.12-slim-bullseye
WORKDIR /sherlock
Expand Down

0 comments on commit a5dda7a

Please sign in to comment.