You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Install node (Keep the version in sync with the node container above)
63
-
RUN mkdir -p /etc/apt/keyrings
64
-
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
65
-
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
66
-
RUN apt-get update
67
-
RUN apt install nodejs -y
63
+
RUN curl -fsSL https://deb.nodesource.com/setup_${NODE_MAJOR}.x | bash - && \
64
+
apt-get install -y nodejs
68
65
69
66
# Use user "wagtail" to run the build commands below and the server itself.
0 commit comments