feat: docker support

This commit is contained in:
Morten Olsen
2025-10-16 14:54:52 +02:00
parent 1f4b9cab04
commit b75866bbdf
9 changed files with 91 additions and 11 deletions

View File

@@ -0,0 +1,8 @@
FROM node:23-slim
RUN corepack enable
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile --prod
COPY . .
RUN chmod +x /app/bin/start.js
CMD ["/app/bin/start.js"]