Do not run uv sync directly in the Dockerfile

This commit is contained in:
Alexis Métaireau 2025-01-06 17:13:56 +01:00
parent 9169246924
commit 572d9e3f61
No known key found for this signature in database
GPG key ID: C65C7A89A8FFC56E

View file

@ -182,7 +182,8 @@ ENV PATH="$PATH:/home/user/.local/bin"
RUN pipx install uv RUN pipx install uv
COPY pyproject.toml uv.lock /home/user/dangerzone/ COPY pyproject.toml uv.lock /home/user/dangerzone/
RUN cd /home/user/dangerzone && uv sync # XXX Not sure why, but permission problems with the command below. Commenting it out for now as `uv` will get the deps later on.
# RUN cd /home/user/dangerzone && uv venv .venv-{distro}-{version} && uv sync
""" """
DOCKERFILE_BUILD_DEBIAN_DEPS = r""" DOCKERFILE_BUILD_DEBIAN_DEPS = r"""