diff --git a/SeaCogs/Dockerfile b/SeaCogs/Dockerfile index 47b7499..0b79a0e 100644 --- a/SeaCogs/Dockerfile +++ b/SeaCogs/Dockerfile @@ -17,7 +17,7 @@ RUN apt-get install -y \ 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 export NODE_MAJOR=12 +ENV 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