update nodejs install method in docker (#1168)
* fix docker nodejs install * use install script
This commit is contained in:
parent
341a4925fd
commit
d6f9bfe23c
1 changed files with 6 additions and 4 deletions
|
@ -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 npm@8.5.0
|
||||
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
|
||||
# --------------
|
||||
|
|
Loading…
Reference in a new issue