mirror of
https://github.com/emo2007/block-accounting.git
synced 2025-01-18 15:36:27 +00:00
docker file init
This commit is contained in:
parent
49a2687538
commit
8e0cdcfdbe
13
chain-api/Dockerfile
Normal file
13
chain-api/Dockerfile
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
FROM node:latest
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY package*.json ./
|
||||||
|
|
||||||
|
RUN npm ci
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
RUN npm run build
|
||||||
|
|
||||||
|
CMD [ "node", "dist/src/main.js" ]
|
Loading…
Reference in New Issue
Block a user