fix: 修复 Docker 首页模板加载失败
This commit is contained in:
+2
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user