From 3f93c784e1bc475fc307febbf523cb2c7c897d13 Mon Sep 17 00:00:00 2001 From: Tobias Klein Date: Fri, 21 Jun 2024 21:24:46 +0200 Subject: [PATCH] Install nodejs and npm using apt --- docker/Ubuntu2404_Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docker/Ubuntu2404_Dockerfile b/docker/Ubuntu2404_Dockerfile index db11775..ef17cca 100644 --- a/docker/Ubuntu2404_Dockerfile +++ b/docker/Ubuntu2404_Dockerfile @@ -18,10 +18,7 @@ RUN apt-get install -y dialog build-essential libsword-dev libsqlite3-0 libcurl4 RUN apt-get install -y libfuse2 wget RUN apt-get install -y curl python3-software-properties -RUN curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash -# Install node 16.16.0 -RUN export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && nvm install 16.16.0 && \ - npm install -g electron-packager electron-installer-debian +RUN apt-get install nodejs npm RUN apt-get install -y unzip RUN apt-get install -y xvfb