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
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