From 7cef57073a1efa45a10b0a0aacf59ed3474c6bbd Mon Sep 17 00:00:00 2001 From: orosmatthew Date: Thu, 7 Sep 2023 13:00:25 -0400 Subject: [PATCH] [web] Update Dockerfile --- web/Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/web/Dockerfile b/web/Dockerfile index 1ad87c3..f940c55 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -6,7 +6,13 @@ RUN apt-get update RUN apt-get install curl -y -RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs +RUN apt-get install -y ca-certificates curl 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 +ENV NODE_MAJOR=20 +RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list +RUN apt-get update +RUN apt-get install nodejs -y RUN apt-get install git -y