dockerreactjs.mp4
- Docker
- React
- With terminal, navigate to "/app" - the folder with Dockerfile in it.
- Run in the '/app' directory:
$ docker build -t ps-container:dev .
- After image is built, run:
sudo docker run -it --rm \
-v ${PWD}:/app \
-v /app/node_modules \
-p 3001:3000 \
-e CHOKIDAR_USEPOLLING=true \
ps-container:dev
To run the react app only, without docker, navigate to the /app file and enter:
$ yarn start
None at this time.
- None at this time.
- OK changed. Again.