persistent-docker / scripts /build-local-docker.sh
Anthony Truchet
fix: issues with env var and scripts
265f723
Raw
History Blame Contribute Delete
339 Bytes
#!/usr/bin/env bash
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 .