Add Docker scripts and validation tests for Zen MCP Server

- Created build.sh script for building the Docker image with environment variable checks.
- Added deploy.sh script for deploying the Zen MCP Server with health checks and logging.
- Implemented healthcheck.py to verify server process, Python imports, log directory, and environment variables.
- Developed comprehensive tests for Docker configuration, environment validation, and integration with MCP.
- Included performance tests for Docker image size and startup time.
- Added validation script tests to ensure proper Docker and MCP setup.
This commit is contained in:
OhMyApps
2025-06-25 16:00:48 +02:00
parent 8b7620b262
commit 2de9839096
11 changed files with 1820 additions and 0 deletions

60
.dockerignore Normal file
View File

@@ -0,0 +1,60 @@
# Git
.git
.gitignore
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
env/
venv/
.venv/
.zen_venv/
ENV/
env.bak/
venv.bak/
# IDE
.vscode/
.idea/
*.swp
*.swo
# OS
.DS_Store
Thumbs.db
# Logs
logs/*.log*
*.log
# Docker
Dockerfile*
docker-compose*
.dockerignore
# Documentation
docs/
README.md
*.md
# Tests
tests/
simulator_tests/
pytest.ini
# Development
.env
.env.local
examples/
scripts/bump_version.py
code_quality_checks.sh
run_integration_tests.sh
# Context files (our planning documents)
contexte/
# PR files
pr/