improve dockerfile

- multi-stage build
- standalone output
- layer caching
- production dependencies
This commit is contained in:
2025-08-16 08:45:41 -04:00
parent 7083c816ec
commit d7c66691a1
3 changed files with 55 additions and 5 deletions

View File

@@ -15,7 +15,10 @@ const withPWA = require("next-pwa")({
const nextConfig: NextConfig = withPWA({
/* config options here */
reactStrictMode: true,
// output: "standalone",
output: "standalone",
images: {
formats: ["image/webp", "image/avif"],
},
});
export default nextConfig;