Day 38: Project: containerize the full stack (<150MB API image)
Wrapping up the containerization project
By now you should have all five services (NestJS API, Next.js frontend, PostgreSQL, Redis, RabbitMQ) running together via one docker compose up. Today is about verifying it properly and documenting what you learned.
Verification checklist
docker images myapi:latest --format 'table {{.Repository}}\t{{.Tag}}\t{{.Size}}'Write it up
Per the roadmap's Parallel Track A, write a short post on what got your image under (or, honestly, over) 150MB, and what surprised you about layer caching or Compose networking. This is a genuinely good portfolio artifact — "I containerized a 5-service stack and got the API image under 150MB" is a real, specific, verifiable claim.
The Four Questions: Docker (the worked example from the roadmap itself)
The roadmap's own example: dependency hell → consistent runtime environments → VMs too heavy → shared kernel, weaker isolation. Write your own version of this in your own words before moving to Phase 6, where you'll see exactly what "shared kernel" means at the syscall level.
Phase 5 complete — you should now be able to