From fc20450bd6c147464a3e6f78ba19078f992ea0db Mon Sep 17 00:00:00 2001 From: wenlele Date: Tue, 17 Jan 2023 16:06:40 +0800 Subject: [PATCH] RUN rm -rf package-lock.json --- web/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/Dockerfile b/web/Dockerfile index e44af52..398b622 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -8,7 +8,7 @@ EXPOSE 8080 RUN npm cache clean -f RUN npm install -g node-gyp -RUN rm -rf package-lock.json +# RUN rm -rf package-lock.json RUN npm install --registry http://10.8.30.22:7000 --legacy-peer-deps RUN export NODE_OPTIONS=--max_old_space_size=4096&&npm run build RUN rm -rf client/src