Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
howardt12345 committed Sep 17, 2024
1 parent 84e982c commit 1fab09c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1fab09c

Please sign in to comment.