Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.

Commit dd6ed86

Browse files
committed
fix poetry filepath issue to reference the correct pyproject.toml file
1 parent 825750b commit dd6ed86

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.devcontainer/entrypoint.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ sudo chmod 666 /var/run/docker.sock
1010
################################
1111

1212
# Install graphrag dependencies
13-
cd /graphrag-accelerator
14-
poetry install --no-interaction -v
13+
ROOT_DIR=/graphrag-accelerator
14+
cd ${ROOT_DIR}
15+
poetry install --no-interaction -v --directory ${ROOT_DIR}/backend
1516

1617
#########################
1718
### Git configuration ###
1819
#########################
19-
20-
git config --global --add safe.directory /graphrag-accelerator
20+
git config --global --add safe.directory ${ROOT_DIR}
2121
pre-commit install

0 commit comments

Comments
 (0)