README.md 612 B

old-react-project

This repo (especially Dockerfile) helps you to setup "old" react or other nodejs projects and making it an image, so simply put Dockerfile to your project CHECK node VERSION IN Dockerfile, change it if you want to, then use it in your projects.

Further steps

After putting Dockerfile in your project, you need to build it (Also check npm install --legacy-peer-deps command, change it if you want to), then enter some commands to build an image to run later

docker build -t old-react-project .

Run the image:

docker run -t -p 80:80 -d old-react-project