[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 efcaa57cf0
commit ae2303b733
404 changed files with 24100 additions and 13301 deletions

View File

@@ -3,13 +3,20 @@
# It creates a dedicated 'frontend' directory inside the container to avoid potential
# file conflicts in the root directory.
FROM node:20-slim AS frontend-builder
WORKDIR /app
# Copy the entire frontend project into a 'frontend' subdirectory
COPY frontend ./frontend
# Set the working directory to the new subdirectory
WORKDIR /app/frontend
# Install dependencies and build the project from within its own directory
RUN npm install --no-audit --no-fund
# 1. Copy ONLY package files first (better caching, no host node_modules contamination)
COPY frontend/package.json ./
# 2. Clean install dependencies
# We ignore the local package-lock.json to force a resolution compatible with the container environment
RUN npm install --no-audit --no-fund && \
npx update-browserslist-db@latest
# 3. Copy source code AFTER install
COPY frontend/ ./
# 4. Build
RUN npm run build
# --- STAGE 2: Backend Builder ---