Skip to content

Commit

Permalink
Install nodejs and npm using apt
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-klein committed Jun 21, 2024
1 parent 209d74a commit 3f93c78
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docker/Ubuntu2404_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3f93c78

Please sign in to comment.