feat(dm): add dashboard with oauth, dice, initiative, open5e, notes
This commit is contained in:
+7
-12
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user