diff --git a/SeaCogs/Dockerfile b/SeaCogs/Dockerfile index e71ddb5..14803a7 100644 --- a/SeaCogs/Dockerfile +++ b/SeaCogs/Dockerfile @@ -14,9 +14,9 @@ RUN apt-get install -y \ # Install Nodejs -RUN apt-get install -y ca-certificates curl gnupg \ - mkdir -p /etc/apt/keyrings \ - curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg +RUN apt-get install -y ca-certificates curl gnupg +RUN mkdir /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 export NODE_MAJOR=12 RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_MAJOR}.x focal main" | sudo tee /etc/apt/sources.list.d/nodesource.list > /dev/null RUN apt-get update && apt-get install -y nodejs