Skip to content

armgit / laya

Public Imported from GitHub
0

Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.

fix(docker): upgrade virtualenv installers before copying the runtime

xiehuanyid95d9988555f
diff --git a/Dockerfile b/Dockerfile
index a940c1f4..dc22ff9d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,7 +6,9 @@ FROM ${PYTHON_IMAGE} AS build
ENV PIP_NO_CACHE_DIR=1 \
PIP_DISABLE_PIP_VERSION_CHECK=1
-RUN python -m venv /opt/venv
+# The virtualenv is copied into the runtime image. Upgrade its bundled installers
+# so an up-to-date base does not still ship ensurepip's older pip/setuptools (#739).
+RUN python -m venv --upgrade-deps /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
# CPU by default on AMD64 and ARM64. The CUDA override selects cu128 and the