Skip to content

Commit

Permalink
use install script
Browse files Browse the repository at this point in the history
  • Loading branch information
rmorshea committed Dec 9, 2023
1 parent 8bdf3fe commit 9e40c6c
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions docs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,12 @@ FROM python:3.9
WORKDIR /app/

RUN apt-get update
RUN apt-get install -y ca-certificates curl gnupg

# Install NodeJS
# --------------
# Download and import the Nodesource GPG key
RUN mkdir -p /etc/apt/keyrings
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
#Create deb repository
RUN NODE_MAJOR=20
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
# Run Update and Install
RUN apt-get update
RUN curl -SLO https://deb.nodesource.com/nsolid_setup_deb.sh
RUN chmod 500 nsolid_setup_deb.sh
RUN ./nsolid_setup_deb.sh 20
RUN apt-get install nodejs -y

# Install Poetry
Expand Down

0 comments on commit 9e40c6c

Please sign in to comment.