feat(gtm-architect): Integrate GTM Architect app with Python backend, DB persistence, and Docker stack
This commit is contained in:
28
gtm-architect/Dockerfile
Normal file
28
gtm-architect/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user