Interesting Docker optimization for a Nuxt + Prisma app — 84% smaller image
A colleague from my team recently wrote a great breakdown of how they reduced a Docker image by 84% for a Nuxt app using Prisma and SQLite.
What I liked about it is that it goes through the actual build strategy changes (multi-stage builds, runtime vs build deps, Prisma generation, etc).
The final Dockerfile is also included.
Curious what others here think about this approach.
[link] [comments]