From 54c9c47a13b41cb60e2ed44e2ef1f8168ede5745 Mon Sep 17 00:00:00 2001 From: Jacob Rief Date: Fri, 20 Oct 2023 17:30:56 +0200 Subject: [PATCH] install node using other instructions --- .deployment/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.deployment/Dockerfile b/.deployment/Dockerfile index 9940459c..7d66847d 100644 --- a/.deployment/Dockerfile +++ b/.deployment/Dockerfile @@ -5,8 +5,11 @@ WORKDIR /web # install packages outside of PyPI RUN apt-get upgrade -y -RUN apt-get install -y curl make -RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - +RUN apt-get install -y ca-certificates curl make gnupg +RUN mkdir -p /etc/apt/keyrings +RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg +RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list +RUN apt-get update RUN apt-get install -y nodejs npm RUN pip install --upgrade pip