diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ef857b4 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM node:lts-alpine3.17 +WORKDIR /usr/src/app +COPY ["package.json", "pnpm-lock.yaml", "dist/*", "./"] +RUN pnpm i +EXPOSE 4321 +RUN chown -R node /usr/src/app +USER node +CMD ["pnpm", "start"]