The cross-build container runs npm ci against the host package.json, which otherwise pulls the CUDA runtime the bundle never loads.
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ COPY . .
|
||||
|
||||
# Build-time dependencies for vite and tsc; the Windows runtime dependencies are
|
||||
# installed separately by build.mjs with --os=win32 --cpu=x64.
|
||||
RUN npm ci --no-audit --no-fund
|
||||
RUN ONNXRUNTIME_NODE_INSTALL=skip npm ci --no-audit --no-fund
|
||||
|
||||
# --allow-dirty: the build context has no .git, so the worktree check is skipped.
|
||||
# The Go toolchain makes build.mjs produce Luminary.exe instead of the .cmd/.vbs
|
||||
|
||||
Reference in New Issue
Block a user