use the advice provided in NVM git repo
This commit is contained in:
parent
facd5a565f
commit
202babe039
1 changed files with 4 additions and 3 deletions
|
@ -3,10 +3,11 @@ FROM git.zontreck.com/ariascreations/buildenvironments:debianbuild
|
|||
USER root
|
||||
WORKDIR /root
|
||||
|
||||
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
|
||||
RUN source /root/.nvm/nvm.sh
|
||||
ENV BASH_ENV /root/.bash_env
|
||||
RUN touch "${BASH_ENV}"
|
||||
|
||||
RUN nvm install node && nvm install 20
|
||||
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | PROFILE="${BASH_ENV}" bash
|
||||
RUN echo node > /root/.nvmrc
|
||||
|
||||
WORKDIR /app
|
||||
RUN git clone https://github.com/janoside/btc-rpc-explorer explorer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue