From 5137cf12e2f120389a4fe188bc16aafd8ade213d Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Fri, 13 Feb 2026 20:15:32 +0100 Subject: [PATCH] dockerfile aktualisiert Correctly install nodejs --- dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/dockerfile b/dockerfile index ec7c27c..2fdd252 100644 --- a/dockerfile +++ b/dockerfile @@ -35,11 +35,12 @@ RUN sudo apt install -y build-essential zlib1g-dev libncurses5-dev libgdbm-dev l python3.12 -m pip install --user --upgrade pip && \ cd ../ && sudo rm -rf Python-3.12.*/ -# install nodejs -RUN sudo apt install -y curl && \ - curl -sL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh && \ - sudo apt install -y nodejs && \ - sudo apt install -y npm +# install Node.js 22 +RUN apt update && \ + apt install -y curl && \ + curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \ + apt install -y nodejs && \ + node -v && npm -v # install .net 10 RUN sudo add-apt-repository ppa:dotnet/backports && \