mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-28 03:03:51 -04:00
14 lines
401 B
Plaintext
Executable File
14 lines
401 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 "$HOME/.local/bin" /var/run/s6/container_environment/PATH; then
|
|
printf ':$HOME/.local/bin' >> /var/run/s6/container_environment/PATH
|
|
fi
|
|
|
|
echo "**** poetry setup complete ****" |