Skip to content

Commit

Permalink
Merge pull request #4374 from alphagov/pin_uv_version_to_0.5.26
Browse files Browse the repository at this point in the history
Update docker file to pin uv version to 0.5.26
  • Loading branch information
BlessedDev authored Feb 4, 2025
2 parents 07914c6 + 6877976 commit cbc24b6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ RUN echo "Install OS dependencies for python app requirements" && \

COPY requirements.txt .

RUN pip install uv
RUN pip install uv==0.5.26


ENV UV_CACHE_DIR='/tmp/uv-cache/'
RUN echo "Installing python requirements" && \
Expand Down Expand Up @@ -85,7 +86,7 @@ RUN mkdir -p app
COPY --from=python_build --chown=notify:notify /opt/venv /opt/venv

# Install dev/test requirements
RUN pip install uv
RUN pip install uv==0.5.26
COPY --chown=notify:notify Makefile requirements_for_test.txt ./
ENV UV_CACHE_DIR='/tmp/uv-cache/'
RUN make bootstrap
Expand Down Expand Up @@ -124,7 +125,7 @@ COPY --chown=notify:notify . .

ENV SQLALCHEMY_DATABASE_URI=postgresql://postgres:postgres@localhost/

RUN pip3 install uv
RUN pip3 install uv==0.5.26

ENV UV_CACHE_DIR='/tmp/uv-cache/'
RUN uv pip sync requirements_for_test.txt
Expand Down

0 comments on commit cbc24b6

Please sign in to comment.