feat: Update Dockerfile to use uv for package management

This commit is contained in:
shiyu
2025-09-06 16:27:30 +08:00
parent 20f6b5c210
commit 99a6acd54a

View File

@@ -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