diff --git a/Dockerfile b/Dockerfile index 8c40f5007..6b4deba7a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,8 @@ -FROM ruby:3.2-bullseye +FROM ruby:3.2-bookworm -ENV NODE_MAJOR_VERSION 18 - -RUN curl --silent --show-error --location --retry 5 --retry-connrefuse --retry-delay 4 https://deb.nodesource.com/setup_${NODE_MAJOR_VERSION}.x | bash - \ - && apt-get update \ - && apt-get install -y --quiet --no-install-recommends \ - nodejs +RUN apt-get update \ + && apt-get install -y --quiet --no-install-recommends \ + nodejs npm ENV GEM_HOME=/usr/gem ENV PATH="$GEM_HOME/bin/:$PATH"