File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -57,25 +57,25 @@ RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
5757 locale-gen
5858
5959# Install ``uv`` package manager
60- RUN curl -LsSf https://astral.sh/uv/install.sh | sh
60+ RUN curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR= "/usr/bin/" sh
6161
6262# Ensure that ``python`` is in the PATH so that ``./manage.py`` works
6363RUN ln -s /usr/bin/python3 /usr/bin/python
6464
6565WORKDIR /tmp
6666
6767COPY requirements/docker.txt docker.txt
68- RUN ~/.local/bin/ uv pip sync --system docker.txt
68+ RUN uv pip sync --system docker.txt
6969
7070# Install readthedocs-ext only if GITHUB_TOKEN is provided
7171WORKDIR /usr/src/app/checkouts/
7272RUN if [ -n "$GITHUB_TOKEN" ] ; \
7373 then \
7474 git clone --depth 1 https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/readthedocs/readthedocs-ext ; \
75- pip3 install --no-cache-dir -e readthedocs-ext ; \
75+ uv pip install --system --no-cache-dir -e readthedocs-ext ; \
7676 fi
7777
7878RUN git clone --depth 1 https://github.com/readthedocs/ext-theme ; \
79- pip3 install --no-cache-dir -e ext-theme
79+ uv pip install --system --no-cache-dir -e ext-theme
8080
8181WORKDIR /usr/src/app/checkouts/readthedocs.org
You can’t perform that action at this time.
0 commit comments