Update Dockerfile

This commit is contained in:
2026-04-22 10:28:17 +02:00
parent 88fc9c8321
commit 7e572b654c

View File

@@ -3,11 +3,13 @@ FROM ubuntu:jammy
USER root USER root
RUN adduser --system mt RUN adduser --system mt
RUN apt-get update RUN apt-get update && apt-get install -y ca-certificates curl gnupg git
RUN apt-get install --quiet --yes curl RUN mkdir -p /etc/apt/keyrings
RUN curl -fsSL https://deb.nodesource.com/setup_14.x | bash - RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key \
RUN apt-get update | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
RUN apt-get install --quiet --yes nodejs git 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 USER mt