From 1fab09c0761525acb4b96f60aa84b294c935d2c8 Mon Sep 17 00:00:00 2001 From: howardt12345 Date: Tue, 17 Sep 2024 13:50:59 -0400 Subject: [PATCH] changes --- entrypoint.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index c6bd126..e76d406 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -14,12 +14,11 @@ fi # Verify Python version python --version -# Allow poetry to create a virtual environment in the project directory -export POETRY_VIRTUALENVS_IN_PROJECT=true -export POETRY_VIRTUALENVS_OPTIONS_ALWAYS_COPY=true +# Verify Poetry version +poetry --version -# Set the permissions of the virtual environment directory -chmod -R 777 $(poetry env info --path) +# Configure Poetry to create virtual environments inside the project directory +poetry config virtualenvs.in-project true --local # Create/update the virtual environment and install dependencies poetry install --no-interaction --no-ansi