Smaller/faster Next.js deploys with standalone output

Hey, I followed the guide to deploy a Next.js app. It worked flawlessly.

However, when I read up on the Next.js docs I learned about {output: ‘standalone’}, which is enabled in their with-docker example.

Using standalone output my Docker image ended up being ~400Mb smaller and my deploys are 1 min faster.

Maybe fly launch could be updated?


1 Like