Stabilize Lead Engine calendar logic (v1.4) and integrate GTM Architect, B2B Assistant, and Transcription Tool into Docker stack [30388f42]

This commit is contained in:
2026-03-08 08:46:25 +00:00
parent 57081bf102
commit 44502e5b2b
16 changed files with 451 additions and 136 deletions

View File

@@ -36,15 +36,20 @@ RUN pip install --no-cache-dir -r requirements.txt
# Copy the Node.js server and its production dependencies manifest
COPY b2b-marketing-assistant/server.cjs .
COPY b2b-marketing-assistant/package.json .
COPY helpers.py .
COPY config.py .
COPY market_db_manager.py .
# Install only production dependencies for the Node.js server
RUN npm install --omit=dev
# Install dependencies for the Node.js server
RUN npm install
RUN npm install express cors
# Copy the built React app from the builder stage
COPY --from=frontend-builder /app/dist ./dist
# Copy the main Python orchestrator script from the project root
COPY b2b_marketing_orchestrator.py .
COPY b2b-marketing-assistant/b2b_marketing_orchestrator.py .
COPY b2b-marketing-assistant/services ./services
# Expose the port the Node.js server will run on
EXPOSE 3002

View File

@@ -18,3 +18,20 @@ View your app in AI Studio: https://ai.studio/apps/drive/1ZPnGbhaEnyhIyqs2rYhcPX
2. Set the `GEMINI_API_KEY` in the central `.env` file in the project's root directory.
3. Run the app:
`npm run dev`
## Docker Deployment (Plug & Play)
The **B2B Marketing Assistant** is integrated into the central `docker-compose.yml`.
### Start Service
```bash
# Build and start
docker-compose up -d --build b2b-marketing-assistant
```
### Details
* **External Port:** `8092`
* **Subpath:** `/b2b/`
* **Persistence:** Project data is stored in the `b2b_marketing_data` Docker volume.
* **Base URL:** The frontend is served under the `/b2b/` prefix via Nginx.