From d58be56cb9bd398b95c715be39d4026502089273 Mon Sep 17 00:00:00 2001 From: LouisLam Date: Sat, 31 Jul 2021 12:21:39 +0800 Subject: [PATCH] remove "pip3 cache purge" that causes error --- dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dockerfile b/dockerfile index 56a063066..627222306 100644 --- a/dockerfile +++ b/dockerfile @@ -12,15 +12,16 @@ RUN apk add --no-cache --virtual .build-deps make g++ python3 python3-dev && \ # Install apprise RUN apk add --no-cache python3 py3-cryptography py3-pip py3-six py3-yaml py3-click py3-markdown py3-requests py3-requests-oauthlib -RUN pip3 install apprise && \ - pip3 cache purge && \ - rm -rf /root/.cache +RUN pip3 --no-cache-dir install apprise && \ + rm -rf /root/.cache RUN apprise --version # New things add here COPY . . -RUN npm install && npm run build && npm prune +RUN npm install && \ + npm run build && \ + npm prune EXPOSE 3001 VOLUME ["/app/data"]