chemlib / run_docker.sh
ghh1125's picture
Upload 14 files
7d527d2 verified
Raw
History Blame Contribute Delete
250 Bytes
#!/usr/bin/env bash
set -euo pipefail
PORT=$(python3 -c "import json; print(json.load(open('port.json', 'r', encoding='utf-8'))['port'])")
IMAGE="chemlib-mcp"
docker build -t "$IMAGE" .
docker run --rm -p "$PORT:$PORT" -e MCP_PORT="$PORT" "$IMAGE"