Fixed nodejs installation
Some checks failed
Deploy on push / on-push-deploy_sh-edraft (push) Failing after 22s
Some checks failed
Deploy on push / on-push-deploy_sh-edraft (push) Failing after 22s
This commit is contained in:
parent
2908bc5ebf
commit
fbdfc47412
13
dockerfile
13
dockerfile
@ -29,9 +29,16 @@ RUN python3.10 -m pip install cpl-cli --extra-index-url https://pip.sh-edraft.de
|
|||||||
RUN python3.10 -m pip install cpl-query --extra-index-url https://pip.sh-edraft.de
|
RUN python3.10 -m pip install cpl-query --extra-index-url https://pip.sh-edraft.de
|
||||||
|
|
||||||
# install node
|
# install node
|
||||||
RUN sud curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
|
ENV NVM_DIR /usr/local/nvm # or ~/.nvm , depending
|
||||||
RUN sudo apt -y install nodejs
|
ENV NODE_VERSION 21.2.0
|
||||||
RUN sudo apt -y install npm
|
|
||||||
|
# Install nvm with node and npm
|
||||||
|
RUN curl https://raw.githubusercontent.com/creationix/nvm/v0.39.5/install.sh | bash \
|
||||||
|
&& . $NVM_DIR/nvm.sh \
|
||||||
|
&& sudo nvm install $NODE_VERSION \
|
||||||
|
&& sudo nvm alias default $NODE_VERSION \
|
||||||
|
&& sudo nvm use default
|
||||||
|
|
||||||
RUN sudo npm install -g @angular/cli
|
RUN sudo npm install -g @angular/cli
|
||||||
RUN sudo npm install -g ts-node
|
RUN sudo npm install -g ts-node
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user