revert changes.

This commit is contained in:
2026-02-27 03:06:41 +00:00
parent df27a5b559
commit 684dfb16ca
2 changed files with 4 additions and 11 deletions

View File

@@ -17,16 +17,9 @@ RUN apt-get update -y && \
apt-get upgrade -y && \
apt-get install -y libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2t64 libxtst6 xauth xvfb
# Installing Node.js with nvm
ENV NVM_DIR=/root/.nvm
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash && \
. "$NVM_DIR/nvm.sh" && \
nvm install 24 && \
nvm use 24 && \
nvm alias default 24 && \
ln -sf "$NVM_DIR/versions/node/$(nvm version)/bin/node" /usr/local/bin/node && \
ln -sf "$NVM_DIR/versions/node/$(nvm version)/bin/npm" /usr/local/bin/npm && \
ln -sf "$NVM_DIR/versions/node/$(nvm version)/bin/npx" /usr/local/bin/npx
# Installing Node.js
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \
apt-get install -y nodejs
# Finished installing Node.js
#Installing Docker