Files
docker-bash-mcp/docker-compose.yml
T
Sidney Marvin Fricke 0e33e8dbc8 extract startup logic into server/startup.sh for easy customization
Replaces the inline bash -c "..." command in docker-compose with a dedicated
startup.sh script that installs system packages, pip deps, and starts the server.
Add custom setup steps (apt, pip, curl, etc.) in the marked section.
2026-06-25 08:39:23 +02:00

20 lines
394 B
YAML

services:
mcp-bash:
image: python:3.12-slim
container_name: mcp-bash
restart: unless-stopped
working_dir: /workspace
command: bash /app/startup.sh
ports:
- "8000:8000"
volumes:
- ./server:/app:ro
- ${WORKSPACE_PATH:-.}:/workspace
- pip-cache:/root/.cache/pip
environment:
- PYTHONUNBUFFERED=1
tty: true
volumes:
pip-cache: