From 1cb026c235d8e926f0dbfd4960d11deea61a1b2d Mon Sep 17 00:00:00 2001 From: jairajdev Date: Mon, 6 Jul 2026 15:26:35 +0800 Subject: [PATCH] Update dev.Dockerfile to Node 20.19.3 and Rust 1.82. - Align the dev image toolchain with project requirements - Fix the corrupted rustup install command --- dev.Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev.Dockerfile b/dev.Dockerfile index 5d869996..63a7db6d 100644 --- a/dev.Dockerfile +++ b/dev.Dockerfile @@ -6,7 +6,7 @@ # However, the resulting image size is very large (~1.25GB). # # Useful for development, but don't ship it. Use 'Dockerfile' instead. -FROM node:18.16.1 +FROM node:20.19.3 # Link this Dockerfile to the image in the GHCR LABEL "org.opencontainers.image.source"="https://github.com/liberdus/server" @@ -21,8 +21,8 @@ COPY . . RUN apt-get update && apt-get install -y \ build-essential \ curl -RUN curl https://sh.rustup.rs -sSf | bash -s -- -RUN curl https://sh.rustup.rs -sSf | bash -s -- -y \ - --default-toolchain 1.74.1y +RUN curl https://sh.rustup.rs -sSf | bash -s -- -y \ + --default-toolchain 1.82 ENV PATH="/root/.cargo/bin:${PATH}" # Install node_modules