diff --git a/Dockerfile b/Dockerfile
index 519911d0b6893d97c0febb47009437a7bf0f3770..1b25365a6cfe02d42cebf39603c33b0da290c6d7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,8 +2,15 @@ FROM python:3.10
 
 RUN mkdir /app
 
-RUN curl -fsSL https://deb.nodesource.com/setup_19.x | bash -
-RUN apt-get -y install autoconf automake libtool pkg-config nodejs git
+# Install NodeJS
+ENV NODE_MAJOR=20
+RUN apt-get update
+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
+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 -y nodejs
 RUN rm -rf /var/lib/apt/lists/*
 
 RUN mkdir /temp