From 49f8eeac8accf96c9d3203b1a8a5c83363feedfa Mon Sep 17 00:00:00 2001 From: Li Zhineng Date: Wed, 4 Sep 2024 16:33:46 +0800 Subject: [PATCH 1/2] build: remove .npmrc --- .npmrc | 1 - 1 file changed, 1 deletion(-) delete mode 100644 .npmrc diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 521a9f7c0..000000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -legacy-peer-deps=true From 0b0e91c3e0195ba54e890b22bc2934b7823d0a44 Mon Sep 17 00:00:00 2001 From: Li Zhineng Date: Wed, 4 Sep 2024 16:34:19 +0800 Subject: [PATCH 2/2] build: drop --force from npm install --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index fef3ee2e5..493aef5ae 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -10,7 +10,7 @@ RUN apt-get update && apt-get -y install curl \ # install dependencies WORKDIR /var/app COPY package*.json ./ -RUN npm install --force +RUN npm install ENV NODE_OPTIONS="--no-experimental-fetch" CMD ["npm", "run", "start"]