From eb6e7bd4b2674911560b38fadf5dac1f1b2afd38 Mon Sep 17 00:00:00 2001 From: Lev Rusanov <30170278+JDM170@users.noreply.github.com> Date: Wed, 24 Sep 2025 20:32:30 +0700 Subject: [PATCH] Update files Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com> --- Dockerfile | 7 +++++-- requirements.txt | 3 +-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index b464440..a97bd32 100755 --- a/Dockerfile +++ b/Dockerfile @@ -8,11 +8,14 @@ COPY spotizerr-ui/. . RUN pnpm build # Stage 2: Python dependencies builder (create relocatable deps dir) -FROM python:3.11-slim AS py-deps +FROM python:3.11-alpine AS py-deps WORKDIR /app COPY requirements.txt . COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/ -RUN uv pip install --target /python -r requirements.txt +RUN apk add --no-cache git; \ + uv pip install --target /python -r requirements.txt; \ + uv pip install --target /python "git+https://git.jdm17.ru/JDM170/librespot-spotizerr-dev.git@main"; \ + uv pip install --target /python "git+https://git.jdm17.ru/JDM170/deezspot-spotizerr-dev.git@main" # Stage 3: Fetch static ffmpeg/ffprobe binaries FROM debian:stable-slim AS ffmpeg diff --git a/requirements.txt b/requirements.txt index 0a8e493..b75883e 100755 --- a/requirements.txt +++ b/requirements.txt @@ -1,11 +1,10 @@ fastapi==0.116.1 uvicorn[standard]==0.35.0 celery==5.5.3 -git+https://git.jdm17.ru/JDM170/deezspot-spotizerr-dev.git@main httpx==0.28.1 bcrypt==4.2.1 PyJWT==2.10.1 python-multipart==0.0.17 fastapi-sso==0.18.0 redis==5.0.7 -async-timeout==4.0.3 +async-timeout==4.0.3 \ No newline at end of file