From d6f9bfe23c6ca16eeae8649632163542d44ff11e Mon Sep 17 00:00:00 2001 From: Ryan Morshead Date: Sat, 9 Dec 2023 09:28:33 -0700 Subject: [PATCH] update nodejs install method in docker (#1168) * fix docker nodejs install * use install script --- docs/Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/Dockerfile b/docs/Dockerfile index 39b9c51be..7a5d49b7b 100644 --- a/docs/Dockerfile +++ b/docs/Dockerfile @@ -1,12 +1,14 @@ FROM python:3.9 - WORKDIR /app/ +RUN apt-get update + # Install NodeJS # -------------- -RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - -RUN apt-get install -y build-essential nodejs npm -RUN npm install -g npm@8.5.0 +RUN curl -SLO https://deb.nodesource.com/nsolid_setup_deb.sh +RUN chmod 500 nsolid_setup_deb.sh +RUN ./nsolid_setup_deb.sh 20 +RUN apt-get install nodejs -y # Install Poetry # --------------