chore: migrate package manager to uv

This commit is contained in:
swve 2024-11-18 21:11:12 +01:00
parent 421cc82637
commit 74e389f4bc
7 changed files with 2265 additions and 4307 deletions

View file

@ -39,12 +39,11 @@ COPY --from=deps --chown=app:system /app/web/.next/static ./app/web/.next/static
# Backend Build
WORKDIR /app/api
COPY ./apps/api/poetry.lock* ./
COPY ./apps/api/uv.lock ./
COPY ./apps/api/pyproject.toml ./
RUN pip install --upgrade pip \
&& pip install poetry \
&& poetry config virtualenvs.create false \
&& poetry install --no-interaction --no-ansi
&& pip install uv \
&& uv sync
COPY ./apps/api ./
# Run the backend