fix poetry filepath issue to reference the correct pyproject.toml file

This commit is contained in:
Josh Bradley 2024-12-04 15:01:44 -05:00
parent 825750bea3
commit dd6ed869f3

View File

@ -10,12 +10,12 @@ sudo chmod 666 /var/run/docker.sock
################################ ################################
# Install graphrag dependencies # Install graphrag dependencies
cd /graphrag-accelerator ROOT_DIR=/graphrag-accelerator
poetry install --no-interaction -v cd ${ROOT_DIR}
poetry install --no-interaction -v --directory ${ROOT_DIR}/backend
######################### #########################
### Git configuration ### ### Git configuration ###
######################### #########################
git config --global --add safe.directory ${ROOT_DIR}
git config --global --add safe.directory /graphrag-accelerator
pre-commit install pre-commit install