From ab6b495aafbf536346fa6d31fa9c93fa07ef9498 Mon Sep 17 00:00:00 2001 From: LUCAS Date: Thu, 28 Jul 2022 22:33:58 +0800 Subject: [PATCH] RUN rm -rf package-lock.json->docker file --- web/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/web/Dockerfile b/web/Dockerfile index 9e05d4b0..e5ae3ee8 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -10,6 +10,7 @@ RUN npm config set registry=http://10.8.30.22:7000 RUN echo "{\"time\":\"$BUILD_TIMESTAMP\",\"build\": \"$BUILD_NUMBER\",\"revision\": \"$SVN_REVISION_1\",\"URL\":\"$SVN_URL_1\"}" > version.json RUN npm cache clean -f RUN npm install --registry http://10.8.30.22:7000 +RUN rm -rf package-lock.json RUN npm run build RUN rm -rf client/src RUN rm -rf node_modules