From aabec3927876fe60a946f868dcd1f687fbaf51b1 Mon Sep 17 00:00:00 2001 From: perror <23651751+perrornet@users.noreply.github.com> Date: Wed, 15 Jan 2025 11:53:30 +0800 Subject: [PATCH] debug --- src/Dockerfile.server | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Dockerfile.server b/src/Dockerfile.server index cacf6d0ec..19ab9f405 100644 --- a/src/Dockerfile.server +++ b/src/Dockerfile.server @@ -10,7 +10,8 @@ COPY *.json ./ # RUN npm install RUN npx lerna bootstrap || true -RUN cat /home/app/node_modules/@ethereum-sourcify/core/package.json +# 将 /home/app/node_modules/@ethereum-sourcify/core/package.json 中的 '"^' 替换为 '"', 并保存 +RUN sed -i 's/"^/""/g' /home/app/node_modules/@ethereum-sourcify/core/package.json && cat /home/app/node_modules/@ethereum-sourcify/core/package.json RUN cd /home/app/node_modules/@ethereum-sourcify/core && npm run build RUN cd /home/app && npx lerna bootstrap || true RUN cd /home/app/node_modules/@ethereum-sourcify/verification && npm run build