Remove not needed apt-get update in Dockerfile

There's no need to wait and waste the time and bandwidth to wait for `apt-get update` for `pip3 install` ;)
This commit is contained in:
Peter Dave Hello
2024-08-27 02:37:23 +08:00
committed by GitHub
parent 9e111a334b
commit a5dda7ae91
+1 -2
View File
@@ -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