Skip ensurepip in octoprint start
This commit is contained in:
parent
cd14c75ec5
commit
d5fd265f26
@ -10,7 +10,6 @@ export BASEDIR="--basedir /data/config/octoprint"
|
|||||||
} || { # Otherwise install it.
|
} || { # Otherwise install it.
|
||||||
{ # Check if Python is available (at `/data/python/octoprint`, set by PATH in Dockerfile)
|
{ # Check if Python is available (at `/data/python/octoprint`, set by PATH in Dockerfile)
|
||||||
python --version
|
python --version
|
||||||
python -m ensurepip
|
|
||||||
} || { # Otherwise create Python virtual environment.
|
} || { # Otherwise create Python virtual environment.
|
||||||
python3 -m venv /data/python/octoprint
|
python3 -m venv /data/python/octoprint
|
||||||
# Install wheel to speed up future installs.
|
# Install wheel to speed up future installs.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user