mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-08 20:05:00 +00:00
fix: do not use pip system-wide anymore
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
7a15ff166e
commit
bcd770194b
1 changed files with 6 additions and 4 deletions
10
Dockerfile
10
Dockerfile
|
@ -95,12 +95,14 @@ RUN apt-get update && \
|
|||
python-is-python3 \
|
||||
python3-dev llvm \
|
||||
python3-venv && \
|
||||
python3-grpcio-tools && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
pip install --upgrade pip
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
# && \
|
||||
# pip install --upgrade pip --break-system-packages
|
||||
|
||||
# Install grpcio-tools (the version in 22.04 is too old)
|
||||
RUN pip install --user grpcio-tools
|
||||
# Install grpcio-tools (the version in 24.04 is too old)
|
||||
#RUN pip install --user grpcio-tools --break-system-packages
|
||||
|
||||
###################################
|
||||
###################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue