fix: 修复 Docker 首页模板加载失败

This commit is contained in:
meijiali
2026-07-03 21:14:49 +08:00
parent 7371c45fb4
commit da69819b56
3 changed files with 26 additions and 3 deletions
+2 -3
View File
@@ -7,9 +7,8 @@ WORKDIR /app
RUN adduser --disabled-password --gecos "" appuser
COPY pyproject.toml uv.lock ./
RUN pip install --no-cache-dir uv \
&& uv pip install --system --no-cache .
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY app ./app
COPY .env.example ./.env.example