Update 'build/Dockerfile'
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
@@ -30,7 +30,8 @@ USER $USERNAME
|
||||
RUN echo "install nvm and node" \
|
||||
&& curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash \
|
||||
&& if [ -z "$NODE_VERSION" ]; then NODE_VERSION="node"; fi \
|
||||
&& bash $NVM_DIR/nvm.sh
|
||||
RUN nvm install $NODE_VERSION
|
||||
&& export NVM_DIR="$HOME/.nvm" \
|
||||
&& [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" \
|
||||
&& nvm install $NODE_VERSION
|
||||
|
||||
ENTRYPOINT ["start-container"]
|
||||
Reference in New Issue
Block a user