Skip to content

Commit

Permalink
Fix deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
thbar committed Sep 11, 2024
1 parent 6eab9f9 commit 579fc12
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions transport-site/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ RUN uname --all
RUN cat /etc/os-release
RUN cat /etc/lsb-release

ENV NVM_VERSION v0.39.7
ENV NODE_VERSION 20.11.1
ENV NVM_DIR $HOME/.nvm
ENV NVM_VERSION=v0.39.7
ENV NODE_VERSION=20.11.1
ENV NVM_DIR=$HOME/.nvm

RUN mkdir $NVM_DIR

Expand All @@ -85,8 +85,8 @@ RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/${NVM_VERSION}/ins
RUN . $NVM_DIR/nvm.sh && nvm install $NODE_VERSION && nvm use --delete-prefix $NODE_VERSION

# add to path
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION/lib/node_modules
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH
ENV NODE_PATH=$NVM_DIR/v$NODE_VERSION/lib/node_modules
ENV PATH=$NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH

RUN npm install -g yarn

Expand Down

0 comments on commit 579fc12

Please sign in to comment.