Explorar el Código

Update Dockerfile

Lu Xianghui hace 4 días
padre
commit
b64e342ae5
Se han modificado 1 ficheros con 2 adiciones y 4 borrados
  1. 2 4
      Dockerfile

+ 2 - 4
Dockerfile

@@ -4,11 +4,9 @@ WORKDIR /app
 ENV UV_COMPILE_BYTECODE=1 UV_LINK_MODE=copy UV_PYTHON=3.13 UV_PYTHON_INSTALL_MIRROR="https://ghfast.top/https://github.com/astral-sh/python-build-standalone/releases/download"
 
 COPY uv.lock pyproject.toml README.md ./
-RUN --mount=type=cache,target=/root/.cache/uv \
-    uv sync --no-install-project --no-dev
+RUN uv sync --no-install-project --no-dev
 COPY . .
-RUN --mount=type=cache,target=/root/.cache/uv \
-    uv sync --frozen --no-dev
+RUN uv sync --frozen --no-dev
 
 
 FROM dev.data-turing.cn:14443/library/python:3.13-slim-bookworm AS runtime