Skip to content

Commit 1f22346

Browse files
committed
fix: restore Volta installation URL
1 parent fb5cd65 commit 1f22346

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ ARG YARN_VERSION=1.22.22
2626
ARG PNPM_VERSION=9.9.0
2727
RUN apt-get update && apt-get install -y --no-install-recommends curl ca-certificates \
2828
&& rm -rf /var/lib/apt/lists/* \
29-
&& curl -fsSL | bash \
30-
&& [ -f "$HOME/.volta/bin/volta" ] || (echo "Volta installation failed" && exit 1)
29+
&& curl -fsSL https://get.volta.sh | bash
3130
ENV VOLTA_HOME /root/.volta
3231
ENV VOLTA_FEATURE_PNPM=1
3332
ENV PATH $VOLTA_HOME/bin:/usr/local/bin:$PATH

0 commit comments

Comments
 (0)