[30388f42] Infrastructure Hardening: Repaired CE/Connector DB schema, fixed frontend styling build, implemented robust echo shield in worker v2.1.1, and integrated Lead Engine into gateway.

This commit is contained in:
2026-03-07 14:08:42 +00:00
parent 35c30bc39a
commit d1b77fd2f6
415 changed files with 24100 additions and 13301 deletions

View File

@@ -1,20 +1,27 @@
# Use an official Node.js runtime as a parent image
FROM node:20-alpine
# --- STAGE 1: Build ---
FROM node:20-alpine AS builder
# Set the working directory in the container
WORKDIR /app
# Copy package.json and package-lock.json to the container
COPY package.json package-lock.json ./
# Install dependencies
COPY package.json package-lock.json ./
RUN npm install --legacy-peer-deps
# Copy the rest of the application's code
# Copy source and build
COPY . .
RUN npm run build
# Expose the port the app runs on
EXPOSE 5173
# --- STAGE 2: Runtime ---
FROM nginx:alpine
# Command to run the development server
CMD ["npm", "run", "dev"]
# Copy built assets from builder stage
COPY --from=builder /app/dist /usr/share/nginx/html
# Copy custom nginx config for SPA routing
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Expose port 80
EXPOSE 80
# Nginx starts automatically
CMD ["nginx", "-g", "daemon off;"]