diff --git a/Dockerfile b/Dockerfile
index 9f926be9b446d0bcb7f6f1a1f6c0cc0823d6966a..3c09f6dd381e1a6f79b6142e9c77feacbadd46a8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,8 +3,16 @@ FROM python:3.10
 RUN mkdir /app
 WORKDIR /app
 
-RUN curl -fsSL https://deb.nodesource.com/setup_19.x | bash -
-RUN apt-get install nodejs && rm -rf /var/lib/apt/lists/*
+# 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/*
 
 COPY . .