diff --git a/Dockerfile b/Dockerfile index d471720936..5718ff2d13 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,8 +26,7 @@ RUN if [ "$INSTALL_FROM_SOURCE" = "true" ]; then \ apt-get update -y && \ apt-get install --no-install-recommends -y git curl ca-certificates gnupg && \ curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \ - apt-get install -y nodejs && \ - npm install -g npm@latest; \ + apt-get install -y nodejs; \ fi COPY . /skypilot