# Dockerfile for CQA Test App MCP Server FROM python:3.11-slim # Set working directory WORKDIR /app # Install system dependencies RUN apt-get update && apt-get install -y \ curl \ && rm -rf /var/lib/apt/lists/* # Copy requirements and install Python dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy application files COPY lib/ ./lib/ COPY products/mcp/ ./products/mcp/ COPY mcp_server.py . # Create logs directory RUN mkdir -p logs # Set environment variables ENV MCP_PORT=8001 ENV MCP_HOST=0.0.0.0 ENV PYTHONPATH=/app # Jira configuration (should be provided at runtime) # ENV JIRA_URL=https://jira.workers-hub.com # ENV JIRA_PERSONAL_TOKEN=your_token_here # Expose port EXPOSE 8001 # Run MCP server CMD ["python", "mcp_server.py"]