Skip to content

Commit

Permalink
Try out uv
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadain committed Feb 23, 2024
1 parent 2b4d87e commit a150f6e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/django/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ RUN set -ex \
postgresql-client \
" \
&& apt-get update && apt-get install -y $buildDeps $deps --no-install-recommends \
&& pip install --no-cache-dir -r requirements.txt \
&& pip install uv \
&& VIRTUAL_ENV=$(python -c "import sys; print(sys.prefix)") uv pip install -r requirements.txt \
&& apt-get purge -y --auto-remove $buildDeps \
$(! command -v gpg > /dev/null || echo 'gnupg dirmngr') \
&& rm -rf requirements.txt /var/lib/apt/lists/*
Expand Down

0 comments on commit a150f6e

Please sign in to comment.