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 && \
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 && \