diff --git a/src/Dockerfile.server b/src/Dockerfile.server index 470ed3b4e..425883d61 100644 --- a/src/Dockerfile.server +++ b/src/Dockerfile.server @@ -10,12 +10,13 @@ COPY *.json ./ # RUN npm install RUN npx lerna bootstrap || true -# 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 -# RUN cd /home/app && npx lerna bootstrap || true -# RUN cd /home/app/node_modules/@ethereum-sourcify/validation && npm run build -# RUN cd /home/app && npx lerna bootstrap +RUN cd /home/app/node_modules/@ethereum-sourcify/core && ls +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 +RUN cd /home/app && npx lerna bootstrap || true +RUN cd /home/app/node_modules/@ethereum-sourcify/validation && npm run build +RUN cd /home/app && npx lerna bootstrap RUN npx lerna run build CMD ["npm", "run", "server:start"] \ No newline at end of file