Skip to content

Commit 61c19f4

Browse files
committed
use uv
1 parent 4b27c82 commit 61c19f4

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

packages/postgres-database/scripts/erd/Dockerfile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,14 @@ RUN apt-get update \
2020
&& apt-get clean
2121

2222

23-
RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \
24-
pip install --upgrade \
25-
pip~=24.0 \
23+
RUN --mount=type=cache,target=/root/.cache/uv \
24+
uv pip install --upgrade \
2625
wheel \
2726
setuptools
2827

2928

3029
# devenv
3130
COPY requirements.txt requirements.txt
32-
RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \
33-
pip install \
34-
-r requirements.txt
31+
RUN --mount=type=cache,target=/root/.cache/uv \
32+
uv pip sync \
33+
requirements.txt

0 commit comments

Comments
 (0)