Fix: NVM_DIR Path
All checks were successful
Build and Push Docker Image / build (push) Successful in 3m21s
All checks were successful
Build and Push Docker Image / build (push) Successful in 3m21s
This commit is contained in:
@@ -8,7 +8,7 @@ RUN sudo apt install curl golang-go delve git -y
|
|||||||
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | bash
|
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | bash
|
||||||
|
|
||||||
# set env
|
# set env
|
||||||
ENV NVM_DIR=/root/.nvm
|
ENV NVM_DIR="/home/coder/.nvm"
|
||||||
|
|
||||||
# install node
|
# install node
|
||||||
RUN bash -c "source $NVM_DIR/nvm.sh && nvm install --lts"
|
RUN bash -c "source $NVM_DIR/nvm.sh && nvm install --lts"
|
||||||
|
|||||||
Reference in New Issue
Block a user