dockerer
This commit is contained in:
parent
317a1e343e
commit
a288703c62
1 changed files with 8 additions and 0 deletions
8
Dockerfile
Normal file
8
Dockerfile
Normal file
|
@ -0,0 +1,8 @@
|
|||
FROM node:14-slim
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm install -g pnpm
|
||||
RUN pnpm install
|
||||
COPY . .
|
||||
RUN pnpm build
|
||||
CMD ["node", "dist/index.js"]
|
Loading…
Reference in a new issue