block-accounting/chain-api/Dockerfile

16 lines
181 B
Docker
Raw Normal View History

2024-05-28 20:19:31 +00:00
FROM node:latest
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
2024-05-28 20:54:51 +00:00
RUN npx hardhat compile && npx hardhat typechain
2024-05-28 20:19:31 +00:00
RUN npm run build
2024-05-28 20:41:07 +00:00
2024-05-28 20:19:31 +00:00
CMD [ "node", "dist/src/main.js" ]