more info here: [https://sweetcode.io/how-to-deploy-react-js-and-node-js-dockerized-containers-to-kubernetes-cluster/](Deploy React.js and Node.js Dockerized)
cd server / cd client
yarn / yarn install
yarn dev / yarn startRuns the app in the development mode.
Open server http://localhost:5000 to view it in the browser.
Open client http://localhost:5173 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
--name and --build are -name and -build in Mac/Linux ?
docker build -t server_img . docker build -t client_img .
use “docker images" command to see images in the local system
docker run -itd --rm --name server_container -p 5000:5000 server_img docker run -itd --rm --name client_container -p 5173:5173 client_img
to stop container: docker container stop server_container docker container stop client_container
docker-compose up --build