diff --git a/entrypoint.sh b/entrypoint.sh index 9cc6823..4e1de65 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -28,8 +28,8 @@ poetry install --no-interaction --no-ansi echo "Activating virtual environment..." source $(poetry env info --path)/bin/activate -# Change the permissions of the working directory to allow executing scripts -chmod +x /app +# Change the permissions of virtual environment scripts +chmod -R +x $(poetry env info --path)/bin # Run the command passed to docker run exec "$@" \ No newline at end of file