Skip ensurepip in octoprint start

This commit is contained in:
Fredrik Baberg 2024-01-17 01:01:13 +01:00
parent 9269270187
commit 037e9dd90e

View File

@ -10,7 +10,6 @@ export BASEDIR="--basedir /data/config/octoprint"
} || { # Otherwise install it.
{ # Check if Python is available (at `/data/python/octoprint`, set by PATH in Dockerfile)
python --version
python -m ensurepip
} || { # Otherwise create Python virtual environment.
python3 -m venv /data/python/octoprint
# Install wheel to speed up future installs.