There was an error while loading. Please reload this page.
1 parent 2b4d87e commit a150f6eCopy full SHA for a150f6e
1 file changed
src/django/Dockerfile
@@ -16,7 +16,8 @@ RUN set -ex \
16
postgresql-client \
17
" \
18
&& apt-get update && apt-get install -y $buildDeps $deps --no-install-recommends \
19
- && pip install --no-cache-dir -r requirements.txt \
+ && pip install uv \
20
+ && VIRTUAL_ENV=$(python -c "import sys; print(sys.prefix)") uv pip install -r requirements.txt \
21
&& apt-get purge -y --auto-remove $buildDeps \
22
$(! command -v gpg > /dev/null || echo 'gnupg dirmngr') \
23
&& rm -rf requirements.txt /var/lib/apt/lists/*
0 commit comments