From e047bc1b048431b02c903da1f1a32244e711f41c Mon Sep 17 00:00:00 2001 From: soulgalore Date: Fri, 29 Oct 2021 15:30:07 +0200 Subject: [PATCH] remove npm when done --- Dockerfile-slim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile-slim b/Dockerfile-slim index d19bb8d2c..baf72c249 100644 --- a/Dockerfile-slim +++ b/Dockerfile-slim @@ -30,7 +30,7 @@ RUN buildDeps='wget bzip2' && apt-get update && apt -y install $buildDeps && \ RUN mkdir -p /usr/src/app WORKDIR /usr/src/app COPY . /usr/src/app -RUN CHROMEDRIVER_SKIP_DOWNLOAD=true EGDEDRIVER_SKIP_DOWNLOAD=true npm install --production && npm cache clean --force +RUN CHROMEDRIVER_SKIP_DOWNLOAD=true EGDEDRIVER_SKIP_DOWNLOAD=true npm install --production && npm cache clean --force && npm uninstall npm -g WORKDIR /usr/src/app COPY docker/scripts/start-slim.sh /start.sh