From 99a6acd54a66d6e1966ccc593745b498d8a3a4df Mon Sep 17 00:00:00 2001 From: shiyu Date: Sat, 6 Sep 2025 16:27:30 +0800 Subject: [PATCH] feat: Update Dockerfile to use uv for package management --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1afe5d4..05c2652 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,8 +15,9 @@ WORKDIR /app RUN apt-get update && apt-get install -y nginx git && rm -rf /var/lib/apt/lists/* -COPY requirements.txt . -RUN pip install --no-cache-dir -r requirements.txt && pip install gunicorn +RUN pip install uv +COPY pyproject.toml uv.lock ./ +RUN uv sync --system && uv pip install gunicorn RUN git clone https://github.com/DrizzleTime/FoxelUpgrade /app/migrate