docker funny

This commit is contained in:
Lewis Crichton
2023-02-16 22:37:00 +00:00
parent ff03491752
commit 48312a0cc9
4 changed files with 37 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
FROM node:lts-slim
RUN npm install --global pnpm
WORKDIR /app
ADD package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile
ADD . ./
RUN pnpm compile
CMD ["node", "dist/index.js"]