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 && \
|
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 && \
|
||||||
|
|||||||
Reference in New Issue
Block a user