- Move to repository root path.
cd ${REPOSITORY_ROOT}
- Create environment file.
cp .env.sample .env
- Build app
docker-compose -f docker-compose.local.yaml build app
- Start app
docker-compose -f docker-compose.local.yaml up -d app
- Install dependencies
docker-compose -f docker-compose.local.yaml exec app npm install
- Run app
docker-compose -f docker-compose.local.yaml exec app npm run start:dev
- Show app
Please access to localhost:8080, you can see that the app is running.