Spaces:
Sleeping
Sleeping
Download DI-engine/ding/scripts/docker-test-entry.sh from OpenDILabCommunity/gomoku: direct link, hf CLI and curl.
- Browser
- Download file 290 Bytes
-
https://huggingface.co/spaces/OpenDILabCommunity/gomoku/resolve/main/DI-engine/ding/scripts/docker-test-entry.sh
- Command line
-
hf download hf://spaces/OpenDILabCommunity/gomoku/DI-engine/ding/scripts/docker-test-entry.sh
-
curl -L -o docker-test-entry.sh https://huggingface.co/spaces/OpenDILabCommunity/gomoku/resolve/main/DI-engine/ding/scripts/docker-test-entry.sh
290 Bytes
| CONTAINER_ID=$(docker run --rm -d opendilab/ding:nightly tail -f /dev/null) | |
| trap "docker rm -f $CONTAINER_ID" EXIT | |
| docker exec $CONTAINER_ID rm -rf /ding && | |
| docker cp $(pwd) ${CONTAINER_ID}:/ding && | |
| docker exec -it $CONTAINER_ID /ding/ding/scripts/docker-test.sh | |