chore: accept both vite+ bin locations in Docker build (#33203)
This commit is contained in:
parent
a80ad57c9e
commit
01ffc7d12f
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
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
|
# 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}"
|
# 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
|
WORKDIR /build
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue