From dd6ed869f3948c0b7a7040232d90680c4d21ff3d Mon Sep 17 00:00:00 2001 From: Josh Bradley Date: Wed, 4 Dec 2024 15:01:44 -0500 Subject: [PATCH] fix poetry filepath issue to reference the correct pyproject.toml file --- .devcontainer/entrypoint.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.devcontainer/entrypoint.sh b/.devcontainer/entrypoint.sh index ed80de3..f9e9aae 100755 --- a/.devcontainer/entrypoint.sh +++ b/.devcontainer/entrypoint.sh @@ -10,12 +10,12 @@ sudo chmod 666 /var/run/docker.sock ################################ # Install graphrag dependencies -cd /graphrag-accelerator -poetry install --no-interaction -v +ROOT_DIR=/graphrag-accelerator +cd ${ROOT_DIR} +poetry install --no-interaction -v --directory ${ROOT_DIR}/backend ######################### ### Git configuration ### ######################### - -git config --global --add safe.directory /graphrag-accelerator +git config --global --add safe.directory ${ROOT_DIR} pre-commit install