Browse Source

Remove cache of pip upgrade

Jason Kaltsikis 5 years ago
parent
commit
5ed4d72cfa
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Dockerfile

+ 2 - 1
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 . .