From 5ed4d72cfa3e4326bd2f231a0ff29dcaacfba48a Mon Sep 17 00:00:00 2001 From: Jason Kaltsikis Date: Sat, 9 May 2020 14:02:09 +0300 Subject: [PATCH] Remove cache of pip upgrade --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 700a21ff..59098e03 100644 --- a/Dockerfile +++ b/Dockerfile @@ -53,7 +53,8 @@ RUN apk upgrade --no-cache \ uwsgi-python3 \ && pip3 install --upgrade pip \ && pip3 install --no-cache -r requirements.txt \ - && apk del build-dependencies + && apk del build-dependencies \ + && rm -rf /root/.cache COPY --chown=searx:searx . .