improve dockerfile
- multi-stage build - standalone output - layer caching - production dependencies
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user