dockerfile aktualisiert
All checks were successful
Deploy on push / build (push) Successful in 1m11s
Deploy on push / push (push) Successful in 1m19s

Correctly install nodejs
This commit is contained in:
2026-02-13 20:15:32 +01:00
committed by edraft
parent e8cb9a36a8
commit 5137cf12e2

View File

@@ -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 && \ python3.12 -m pip install --user --upgrade pip && \
cd ../ && sudo rm -rf Python-3.12.*/ cd ../ && sudo rm -rf Python-3.12.*/
# install nodejs # install Node.js 22
RUN sudo apt install -y curl && \ RUN apt update && \
curl -sL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh && \ apt install -y curl && \
sudo apt install -y nodejs && \ curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
sudo apt install -y npm apt install -y nodejs && \
node -v && npm -v
# install .net 10 # install .net 10
RUN sudo add-apt-repository ppa:dotnet/backports && \ RUN sudo add-apt-repository ppa:dotnet/backports && \