Download run_docker.sh from ghh1125/deepchem: direct link, hf CLI and curl.
- Browser
- Download file 353 Bytes
-
https://huggingface.co/spaces/ghh1125/deepchem/resolve/main/run_docker.sh
- Command line
-
hf download hf://spaces/ghh1125/deepchem/run_docker.sh
-
curl -L -o run_docker.sh https://huggingface.co/spaces/ghh1125/deepchem/resolve/main/run_docker.sh
353 Bytes
| set -euo pipefail | |
| SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | |
| PORT="$(python3 -c 'import json,sys; print(json.load(open(sys.argv[1], "r", encoding="utf-8"))["port"])' "$SCRIPT_DIR/port.json")" | |
| IMAGE_NAME="deepchem-mcp" | |
| cd "$SCRIPT_DIR" | |
| docker build -t "$IMAGE_NAME" . | |
| docker run --rm -p "${PORT}:7860" "$IMAGE_NAME" | |