Add thing to build Docker container from
This commit is contained in:
parent
7585f6a40b
commit
1c27dcc742
4 changed files with 23 additions and 208 deletions
13
Dockerfile
Normal file
13
Dockerfile
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
FROM node:16-alpine
|
||||
|
||||
EXPOSE 9800
|
||||
|
||||
WORKDIR /home/node/app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm install -g pnpm
|
||||
RUN pnpm install
|
||||
RUN pnpm run build
|
||||
|
||||
CMD ["node", "dist/index.js"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue