From 56029af24d07a7ee60c55d84042bcb837ba248c9 Mon Sep 17 00:00:00 2001 From: Arndt Touby Date: Fri, 17 Jan 2025 22:32:05 +0100 Subject: [PATCH] Aktualisiere Dockerfile zur Verbesserung der Node.js-Installation --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9762f11..3999d0d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,13 +22,14 @@ ARG NODE_VERSION=20 FROM ${BUILDER_IMAGE} AS package_installer # install build dependencies -RUN curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION}.x RUN apt-get update -y && apt-get install -y build-essential \ git \ locales \ curl \ - inotify-tools \ - nodejs \ + inotify-tools + +RUN curl -fsSL "https://deb.nodesource.com/setup_${NODE_VERSION}.x" | bash +RUN apt-get install -y nodejs \ && apt-get clean && rm -f /var/lib/apt/lists/*_* # prepare build dir