Skip to content

Commit

Permalink
run nvm install as part of in-docker
Browse files Browse the repository at this point in the history
  • Loading branch information
suchipi committed Apr 24, 2024
1 parent 1c72fed commit a9e4754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion in-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
set -e

mkdir -p node_modules/.docker
docker run --rm -v "$PWD:/app" -v "$PWD/node_modules/.docker:/app/node_modules" suchipi/node-nw-env:0.5.2 bash -c "Xvfb -screen 0 1024x768x16 -ac & source /usr/local/nvm/nvm.sh && cd /app && nvm use && $*"
docker run --rm -v "$PWD:/app" -v "$PWD/node_modules/.docker:/app/node_modules" suchipi/node-nw-env:0.5.2 bash -c "Xvfb -screen 0 1024x768x16 -ac & source /usr/local/nvm/nvm.sh && cd /app && nvm install && nvm use && $*"

0 comments on commit a9e4754

Please sign in to comment.