Skip to content

Commit

Permalink
update nodejs install method in docker (#1168)
Browse files Browse the repository at this point in the history
* fix docker nodejs install

* use install script
  • Loading branch information
rmorshea authored Dec 9, 2023
1 parent 341a492 commit d6f9bfe
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
FROM python:3.9

WORKDIR /app/

RUN apt-get update

# Install NodeJS
# --------------
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get install -y build-essential nodejs npm
RUN npm install -g [email protected]
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 d6f9bfe

Please sign in to comment.