- for notion files go to Link to Notion files
docker network create mern_network
cd ./frontend
docker build -t mern-frontend .
docker run --name=frontend --network=mern_network -d -p 5173:5173 mern-frontend
Open your browser and type http://localhost:5173
cd ./backend
docker build -t mern-backend .
| USE NEEDFUL .env FILE
docker run --name=backend --network=mern_network -d -p 4000:4000 -v /home/$(whoami)/.env:/app/.env mern-backend