feat(dm): add dashboard with oauth, dice, initiative, open5e, notes

This commit is contained in:
emil
2026-05-14 23:48:36 +03:00
parent 7efe188a9a
commit 1a092e05c1
144 changed files with 8643 additions and 35 deletions
+7 -12
View File
@@ -1,14 +1,9 @@
# Stage 1 — build
FROM node:20-alpine AS builder
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
# Stage 2 — serve
FROM nginx:alpine AS runner
COPY --from=builder /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
RUN npm ci --omit=dev
COPY dist ./dist
EXPOSE 4321
ENV HOST=0.0.0.0
ENV PORT=4321
CMD ["node", "./dist/server/entry.mjs"]