Docker: add root-level setup

This commit is contained in:
ddyo
2026-01-02 13:52:08 +02:00
parent 6bad75827a
commit 8d4c6d41ab
4 changed files with 174 additions and 1 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM node:22-bookworm
RUN corepack enable
WORKDIR /app
COPY . .
RUN pnpm install --frozen-lockfile
RUN pnpm build
RUN pnpm ui:install
RUN pnpm ui:build
ENV NODE_ENV=production
CMD ["node", "dist/index.js"]