Dockerfile: fix vite+ installer failing in the ui build stage (#32406)
This commit is contained in:
parent
53d13548f5
commit
44d910776f
1 changed files with 4 additions and 1 deletions
|
|
@ -1,7 +1,10 @@
|
|||
# STEP 1 build ui
|
||||
FROM --platform=$BUILDPLATFORM node:26-alpine AS node
|
||||
|
||||
RUN apk update && apk add --no-cache make && 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
|
||||
ENV PATH="/root/.vite-plus/bin:${PATH}"
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue