Compare commits
2 commits
a9e510362d
...
e6fcd5fc54
| Author | SHA1 | Date | |
|---|---|---|---|
| e6fcd5fc54 | |||
| 1c31444611 |
1 changed files with 4 additions and 3 deletions
|
|
@ -30,7 +30,6 @@ RUN apt-get update \
|
|||
python3.12 \
|
||||
python3.12-venv \
|
||||
python3.12-dev \
|
||||
python3-pip \
|
||||
libmagic1 \
|
||||
libgl1 \
|
||||
libglib2.0-0 \
|
||||
|
|
@ -40,8 +39,10 @@ RUN apt-get update \
|
|||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# --- uv (dependency resolver used by the project) -----------------------
|
||||
RUN python -m pip install --upgrade pip \
|
||||
&& python -m pip install "uv>=0.4"
|
||||
# Install via the standalone installer; avoids needing a working system pip
|
||||
# (python3.12 on Ubuntu 22.04 has no `distutils`, which breaks Ubuntu pip).
|
||||
RUN curl -LsSf https://astral.sh/uv/install.sh | sh \
|
||||
&& ln -sf /root/.local/bin/uv /usr/local/bin/uv
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue