Skip to content

Commit a150f6e

Browse files
committed
Try out uv
1 parent 2b4d87e commit a150f6e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/django/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ RUN set -ex \
1616
postgresql-client \
1717
" \
1818
&& apt-get update && apt-get install -y $buildDeps $deps --no-install-recommends \
19-
&& pip install --no-cache-dir -r requirements.txt \
19+
&& pip install uv \
20+
&& VIRTUAL_ENV=$(python -c "import sys; print(sys.prefix)") uv pip install -r requirements.txt \
2021
&& apt-get purge -y --auto-remove $buildDeps \
2122
$(! command -v gpg > /dev/null || echo 'gnupg dirmngr') \
2223
&& rm -rf requirements.txt /var/lib/apt/lists/*

0 commit comments

Comments
 (0)