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
Copy file name to clipboardExpand all lines: docs/Dockerfile
+3-9Lines changed: 3 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -2,18 +2,12 @@ FROM python:3.9
2
2
WORKDIR /app/
3
3
4
4
RUN apt-get update
5
-
RUN apt-get install -y ca-certificates curl gnupg
6
5
7
6
# Install NodeJS
8
7
# --------------
9
-
# Download and import the Nodesource GPG key
10
-
RUN mkdir -p /etc/apt/keyrings
11
-
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
12
-
#Create deb repository
13
-
RUN NODE_MAJOR=20
14
-
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
15
-
# Run Update and Install
16
-
RUN apt-get update
8
+
RUN curl -SLO https://deb.nodesource.com/nsolid_setup_deb.sh
0 commit comments