Add thing to build Docker container from

This commit is contained in:
Andrew 2023-03-03 21:26:02 +07:00
parent 7585f6a40b
commit 1c27dcc742
4 changed files with 23 additions and 208 deletions

13
Dockerfile Normal file
View 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"]