Fixed nodejs installation
Some checks failed
Deploy on push / on-push-deploy_sh-edraft (push) Failing after 27s
Some checks failed
Deploy on push / on-push-deploy_sh-edraft (push) Failing after 27s
This commit is contained in:
parent
2908bc5ebf
commit
2715a2439b
11
dockerfile
11
dockerfile
@ -29,9 +29,14 @@ 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 NODE_VERSION=21.2.0
|
||||||
RUN sudo apt -y install nodejs
|
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
|
||||||
RUN sudo apt -y install npm
|
ENV NVM_DIR=/root/.nvm
|
||||||
|
RUN . "$NVM_DIR/nvm.sh" && sudo nvm install ${NODE_VERSION}
|
||||||
|
RUN . "$NVM_DIR/nvm.sh" && sudo nvm use v${NODE_VERSION}
|
||||||
|
RUN . "$NVM_DIR/nvm.sh" && sudo nvm alias default v${NODE_VERSION}
|
||||||
|
ENV PATH="/root/.nvm/versions/node/v${NODE_VERSION}/bin/:${PATH}"
|
||||||
|
|
||||||
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