diff --git a/dockerfile b/dockerfile index c2ff2b0..9137c78 100644 --- a/dockerfile +++ b/dockerfile @@ -29,9 +29,12 @@ 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 # install node -RUN sud curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - -RUN sudo apt -y install nodejs -RUN sudo apt -y install npm +ENV NVM_DIR /usr/local/nvm # or ~/.nvm , depending + +# Install nvm with node and npm +RUN curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash +RUN sudo nvm install node v20.10.0 + RUN sudo npm install -g @angular/cli RUN sudo npm install -g ts-node