Spaces:
Sleeping
Sleeping
Download scripts/build-local-docker.sh from AnthonyTruchetPoC/persistent-docker: direct link, hf CLI and curl.
- Browser
- Download file 339 Bytes
-
https://huggingface.co/spaces/AnthonyTruchetPoC/persistent-docker/resolve/main/scripts/build-local-docker.sh
- Command line
-
hf download hf://spaces/AnthonyTruchetPoC/persistent-docker/scripts/build-local-docker.sh
-
curl -L -o build-local-docker.sh https://huggingface.co/spaces/AnthonyTruchetPoC/persistent-docker/resolve/main/scripts/build-local-docker.sh
339 Bytes
| source $(dirname $0)/common_header.sh | |
| # Export the dependencies managed by Poetry in the requirements.txt format for pip | |
| poetry export -f requirements.txt -o requirements.txt --without-hashes --with=jupyter | |
| # Re-build the docker image. | |
| docker build -f $ROOT_DIRECTORY/Dockerfile --label tests -t $CONTAINER_NAME . | |