install createreactapp code example
Example 1: create react app install
RUN IN CMD
npm install -g create-react-app
Example 2: create react app scaffolding
npx create-react-app my-app
cd my-app
npm start
RUN IN CMD
npm install -g create-react-app
npx create-react-app my-app
cd my-app
npm start