climlab / run_docker.sh
ghh1125's picture
Upload 14 files
079b2ee verified
Raw
History Blame Contribute Delete
211 Bytes
#!/usr/bin/env bash
set -euo pipefail
PORT=$(python3 -c 'import json; print(json.load(open("port.json"))["port"])')
IMAGE="climlab-mcp"
docker build -t "$IMAGE" .
docker run --rm -p "${PORT}:${PORT}" "$IMAGE"