Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
perrornet committed Jan 15, 2025
1 parent 182f1a6 commit b313a87
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions src/Dockerfile.server
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
FROM node:14.20.1
FROM quay.io/subscan-explorer/sourcify:sha-6f84145-22
WORKDIR /home/app

COPY services/core ./services/core
COPY services/validation ./services/validation
COPY services/verification ./services/verification
COPY src ./src
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 rm -rf ./dist
# 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 npx lerna run build

CMD ["npm", "run", "server:start"]

0 comments on commit b313a87

Please sign in to comment.