ci: try to improve build times using uv

This commit is contained in:
Herculino Trotta
2025-11-23 22:48:20 -03:00
parent 40389396e3
commit 7af6280b29

View File

@@ -6,8 +6,8 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
&& rm -rf /var/lib/apt/lists/*
COPY ./requirements.txt .
RUN --mount=type=cache,target=/root/.cache/uv \
uv pip wheel --wheel-dir /usr/src/app/wheels -r requirements.txt
RUN --mount=type=cache,target=/root/.cache/pip \
pip wheel --wheel-dir /usr/src/app/wheels -r requirements.txt
FROM node:lts-alpine AS vite_build
WORKDIR /usr/src/frontend