mirror of
https://github.com/emo2007/block-accounting.git
synced 2024-11-13 22:06:27 +00:00
16 lines
181 B
Docker
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" ]
|