From 01ffc7d12f9f3281e7b579006d6b897f418c752f Mon Sep 17 00:00:00 2001 From: andig Date: Wed, 26 Aug 2026 20:42:20 +0200 Subject: [PATCH] chore: accept both vite+ bin locations in Docker build (#33203) --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2a6487e89..116f98106 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,9 @@ FROM --platform=$BUILDPLATFORM node:26-alpine AS node RUN apk update && apk add --no-cache make curl bash && curl -fsSL https://vite.plus | bash -# the installer only wires vp into interactive shell rc files, which RUN steps don't source -ENV PATH="/root/.local/share/vite-plus/bin:${PATH}" +# the installer only wires vp into interactive shell rc files, which RUN steps don't source. +# newer vite+ releases dropped the split directory layout, so accept both bin locations +ENV PATH="/root/.vite-plus/bin:/root/.local/share/vite-plus/bin:${PATH}" WORKDIR /build