Skip to content

Instantly share code, notes, and snippets.

@mebaysan
Created April 30, 2022 15:27
Show Gist options
  • Save mebaysan/e93a79231f9c34a62a9b0858386db62c to your computer and use it in GitHub Desktop.
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
#! /bin/bash
docker run --rm -it -v "$PWD"/app:/app -w /app node:16 npx create-react-app ./
#! /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