feat: production-ready dashboard with proper auth persistence
- Add dashboard UI showing connection status, webhooks, and email config - Fix FileAPL to use fileName param for persistent /data volume storage - Configure production domains and webhooks - Add dev tunnel script for local testing - Update Dockerfile and build config for K3s deployment The app is now successfully installed and running at: https://core-extensions.manoonoils.com
This commit is contained in:
+11
-4
@@ -2,12 +2,19 @@ FROM node:22-alpine AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Copy package files
|
||||
COPY package*.json ./
|
||||
RUN npm install -g pnpm && pnpm install --frozen-lockfile
|
||||
|
||||
# Use npm with legacy peer deps to avoid lockfile issues
|
||||
RUN npm install --legacy-peer-deps
|
||||
|
||||
# Copy source code
|
||||
COPY . .
|
||||
RUN pnpm generate
|
||||
RUN pnpm build
|
||||
|
||||
# Build the app
|
||||
RUN npm run generate:app-graphql-types
|
||||
RUN npm run generate:app-webhooks-types
|
||||
RUN npx next build
|
||||
|
||||
FROM node:22-alpine AS runner
|
||||
|
||||
@@ -27,4 +34,4 @@ EXPOSE 3000
|
||||
ENV PORT=3000
|
||||
ENV HOSTNAME="0.0.0.0"
|
||||
|
||||
CMD ["node", "server.js"]
|
||||
CMD ["node", "server.js"]
|
||||
|
||||
Reference in New Issue
Block a user