After commit & push:
- Bump
yarn version
git add . && git commit -m "Add new bundle" && git push
- Update the server
cd repos/protofun-service && git pull
# cp .env.example .env
npm run build && docker compose up -d
Inspect prod logs:
docker exec -it protofun-service-protofun-service-1 sh
ls -l logs
less logs/
# docker cp protofun-service-protofun-service-1:/usr/src/app/logs .