Files
2024-12-16 12:47:56 -05:00

14 lines
405 B
Plaintext
Executable File

#!/usr/bin/with-contenv bash
echo "**** Setting up poetry ****"
# Install poetry
curl -sSL https://install.python-poetry.org | python3 -
# Add poetry to the path
echo "**** ensuring poetry is in PATH ****"
if ! grep -q "/config/.local/bin" /var/run/s6/container_environment/PATH; then
printf ':/config/.local/bin' >> /var/run/s6/container_environment/PATH
fi
echo "**** poetry setup complete ****"