dockerfile aktualisiert
Correctly install nodejs
This commit is contained in:
11
dockerfile
11
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 && \
|
||||
|
||||
Reference in New Issue
Block a user