mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
chore: migrate package manager to uv
This commit is contained in:
parent
421cc82637
commit
74e389f4bc
7 changed files with 2265 additions and 4307 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue