Skip to content

Commit

Permalink
Update to Node.js 18 in Docker (Azuriom#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
magrigry authored Aug 12, 2022
1 parent e53d3bc commit 9911698
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azuriom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ case $1 in
;;

"npm-install")
docker run -it --rm -v "${SCRIPT_DIR}":/usr/src/app -w /usr/src/app node:12 npm ci
docker run -it --rm -v "${SCRIPT_DIR}":/usr/src/app -w /usr/src/app node:18 npm ci
exit
;;

"npm-run-prod")
docker run -it --rm -v "${SCRIPT_DIR}":/usr/src/app -w /usr/src/app node:12 npm run prod
docker run -it --rm -v "${SCRIPT_DIR}":/usr/src/app -w /usr/src/app node:18 npm run prod
exit
;;

Expand Down

0 comments on commit 9911698

Please sign in to comment.