Skip to content

Commit

Permalink
install node using other instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
jrief committed Oct 20, 2023
1 parent 8f25a55 commit 54c9c47
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .deployment/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ WORKDIR /web

# install packages outside of PyPI
RUN apt-get upgrade -y
RUN apt-get install -y curl make
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash -
RUN apt-get install -y ca-certificates curl make gnupg
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
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
RUN apt-get update
RUN apt-get install -y nodejs npm
RUN pip install --upgrade pip

Expand Down

0 comments on commit 54c9c47

Please sign in to comment.