Created
April 30, 2022 15:27
-
-
Save mebaysan/e93a79231f9c34a62a9b0858386db62c to your computer and use it in GitHub Desktop.
Example script files to use node without installing on local: Creating a react app & running the app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
docker run --rm -it -v "$PWD"/app:/app -w /app node:16 npx create-react-app ./ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
docker run --rm -it -v "$PWD"/app:/app -w /app -p 3000:3000 node:16 npm run start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment