feat(gtm-architect): Integrate GTM Architect app with Python backend, DB persistence, and Docker stack

This commit is contained in:
2025-12-31 12:38:28 +00:00
parent aa9ae07c13
commit 682b736e01
12 changed files with 830 additions and 1070 deletions

28
gtm-architect/Dockerfile Normal file
View File

@@ -0,0 +1,28 @@
# Base image for Python
FROM python:3.10-slim
# Set the working directory
WORKDIR /app
# Copy shared modules first
COPY helpers.py /app/
COPY config.py /app/
# Copy application-specific files
COPY gtm_architect_orchestrator.py /app/
COPY gtm-architect /app/gtm-architect
# Install Python dependencies
RUN pip install --no-cache-dir -r /app/gtm-architect/requirements.txt
# Install Node.js and npm
RUN apt-get update && apt-get install -y nodejs npm && npm cache clean --force
# Install Node.js dependencies for the frontend bridge
RUN npm install --prefix /app/gtm-architect
# Expose the port the app runs on
EXPOSE 3005
# Command to run the application
CMD ["node", "/app/gtm-architect/server.cjs"]