fix: Dockerfile 移除 --frozen 参数
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ COPY alembic.ini ./
|
||||
COPY migrations ./migrations
|
||||
COPY pyproject.toml uv.lock ./
|
||||
RUN UV_DEFAULT_INDEX="https://pypi.tuna.tsinghua.edu.cn/simple/" uv lock && \
|
||||
UV_DEFAULT_INDEX="https://pypi.tuna.tsinghua.edu.cn/simple/" uv sync --frozen --no-dev --no-editable --package backend
|
||||
UV_DEFAULT_INDEX="https://pypi.tuna.tsinghua.edu.cn/simple/" uv sync --no-dev --no-editable --package backend
|
||||
|
||||
EXPOSE 8000
|
||||
CMD ["gunicorn", "--config", "backend/gunicorn.conf.py", "backend.main:app"]
|
||||
|
||||
Reference in New Issue
Block a user