mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-09-05 07:36:53 +08:00
feat: Update Dockerfile to use uv for package management
This commit is contained in:
+3
-2
@@ -15,8 +15,9 @@ WORKDIR /app
|
|||||||
|
|
||||||
RUN apt-get update && apt-get install -y nginx git && rm -rf /var/lib/apt/lists/*
|
RUN apt-get update && apt-get install -y nginx git && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY requirements.txt .
|
RUN pip install uv
|
||||||
RUN pip install --no-cache-dir -r requirements.txt && pip install gunicorn
|
COPY pyproject.toml uv.lock ./
|
||||||
|
RUN uv sync --system && uv pip install gunicorn
|
||||||
|
|
||||||
RUN git clone https://github.com/DrizzleTime/FoxelUpgrade /app/migrate
|
RUN git clone https://github.com/DrizzleTime/FoxelUpgrade /app/migrate
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user