From 7e572b654cd17c341de6b1e82d61f79a568d5b17 Mon Sep 17 00:00:00 2001 From: jschaufuss Date: Wed, 22 Apr 2026 10:28:17 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3c42def2..9df2c3a9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,13 @@ FROM ubuntu:jammy USER root RUN adduser --system mt -RUN apt-get update -RUN apt-get install --quiet --yes curl -RUN curl -fsSL https://deb.nodesource.com/setup_14.x | bash - -RUN apt-get update -RUN apt-get install --quiet --yes nodejs git +RUN apt-get update && apt-get install -y ca-certificates curl gnupg git +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_20.x nodistro main" \ + > /etc/apt/sources.list.d/nodesource.list +RUN apt-get update && apt-get install -y nodejs USER mt