block-accounting/chain-api/Dockerfile
2024-05-28 23:54:51 +03:00

16 lines
181 B
Docker

FROM node:latest
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npx hardhat compile && npx hardhat typechain
RUN npm run build
CMD [ "node", "dist/src/main.js" ]