Files
tkb_timeshift/claude_n8n/tools/mock_api_server/Dockerfile
Docker Config Backup 8793ac4f59 Add Claude N8N toolkit with Docker mock API server
- Added comprehensive N8N development tools collection
- Added Docker-containerized mock API server for testing
- Added complete documentation and setup guides
- Added mock API server with health checks and data endpoints
- Tools include workflow analyzers, debuggers, and controllers

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-17 21:23:46 +02:00

24 lines
469 B
Docker

FROM python:3.9-slim
WORKDIR /app
# Install dependencies
RUN pip install flask werkzeug
# Create api_data directory
RUN mkdir -p api_data
# Copy the mock API server script
COPY mock_api_server.py .
# Copy API data files if they exist
COPY api_data/ ./api_data/
# Expose port 5000
EXPOSE 5000
# Set environment variables
ENV PYTHONUNBUFFERED=1
# Run the server
CMD ["python", "mock_api_server.py", "--host", "0.0.0.0", "--port", "5000", "--data-dir", "api_data"]