Fix GTM Architect: Robust prompt syntax, Gemini API migration, Docker logging

This commit is contained in:
2026-01-01 22:39:43 +00:00
parent 05753edbb1
commit 1fe17d88bc
6 changed files with 598 additions and 1651 deletions

View File

@@ -33,6 +33,9 @@ RUN apt-get update && \
COPY gtm-architect/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Google Generative AI Library installieren
RUN pip install --no-cache-dir google-generativeai
# Copy the Node.js server script and package.json for runtime deps
COPY gtm-architect/server.cjs .
COPY gtm-architect/package.json .
@@ -45,6 +48,7 @@ COPY --from=frontend-builder /app/dist ./dist
# Copy the Python Orchestrator and shared modules
COPY gtm_architect_orchestrator.py .
COPY gtm_prompts.json .
COPY helpers.py .
COPY config.py .
COPY market_db_manager.py .
@@ -56,4 +60,4 @@ COPY market_db_manager.py .
EXPOSE 3005
# Start the server
CMD ["node", "server.cjs"]
CMD ["node", "server.cjs"]