mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 18:03:01 -04:00
Merge pull request #1004 from linuxserver/code-server-python3-poetry-venv
create venv
This commit is contained in:
@@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
echo "**** Setting up poetry ****"
|
echo "**** Setting up poetry ****"
|
||||||
|
|
||||||
|
if [[ ! -f /lsiopy/bin/pip ]]; then
|
||||||
|
python3 -m venv /lsiopy
|
||||||
|
fi
|
||||||
|
|
||||||
# Install poetry
|
# Install poetry
|
||||||
curl -sSL https://install.python-poetry.org | python3 -
|
curl -sSL https://install.python-poetry.org | python3 -
|
||||||
|
|
||||||
@@ -11,4 +15,4 @@ if ! grep -q "/config/.local/bin" /var/run/s6/container_environment/PATH; then
|
|||||||
printf ':/config/.local/bin' >> /var/run/s6/container_environment/PATH
|
printf ':/config/.local/bin' >> /var/run/s6/container_environment/PATH
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "**** poetry setup complete ****"
|
echo "**** poetry setup complete ****"
|
||||||
|
|||||||
Reference in New Issue
Block a user