#Frontend

1 posts

Docker in Practice #3: React/Next.js Build Containers — standalone and the NEXT_PUBLIC Place
8 min read

Docker in Practice #3: React/Next.js Build Containers — standalone and the NEXT_PUBLIC Place

Wrapping a Next.js app into a container. The deps → build → runner three-stage pattern with standalone output, the build-time-baking issue with NEXT_PUBLIC env vars, the static-export option, and hosting a Vite SPA with nginx.