diff --git a/frontend/deploy.dockerfile b/frontend/deploy.dockerfile
index 5a03bf024..16afa003b 100644
--- a/frontend/deploy.dockerfile
+++ b/frontend/deploy.dockerfile
@@ -7,8 +7,12 @@ COPY . /build/frontend
 RUN mv /build/frontend/.env.staging.example /build/frontend/.env.staging
 
 # Add Node 16 support
-RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - &&\
-apt-get install -y nodejs
+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 | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
+RUN NODE_MAJOR=18 echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
+RUN apt-get update
+RUN apt-get install -y nodejs
 
 RUN npm install --global yarn