From a5dda7ae914e9378790a04611fdebb5436fd76e0 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Tue, 27 Aug 2024 02:37:23 +0800 Subject: [PATCH] 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` ;) --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3b64fc82..2e13f679 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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