From 6d7f610b522dc8080cf2c50babc5c41c83378a98 Mon Sep 17 00:00:00 2001 From: Sepehr Karimiziarani <112987653+sepehrkrz@users.noreply.github.com> Date: Wed, 6 Mar 2024 16:51:27 -0600 Subject: [PATCH] Update Dockerfile to install npm and node.js --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8ee75f0..47916ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # and linked from here: # https://github.com/2i2c-org/infrastructure/issues/1444#issuecomment-1187405324 -FROM pangeo/pangeo-notebook:2023.01.13 +FROM pangeo/pangeo-notebook:2023.09.11 USER root ENV DEBIAN_FRONTEND=noninteractive @@ -14,6 +14,10 @@ RUN apt-get update -qq --yes > /dev/null && \ apt-get install --yes -qq gnupg2 > /dev/null && \ rm -rf /var/lib/apt/lists/* +# Install Node.js and npm +RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - \ + && apt-get install -y nodejs + RUN apt-get -y update \ && apt-get install -y dbus-x11 \ firefox \