Improved docker image (size & speed)

This commit is contained in:
Jean-Michel Carrel
2022-12-10 15:34:01 +01:00
parent b1bfb09dfd
commit 8e38c5fed7
3 changed files with 33 additions and 19 deletions

View File

@@ -1,10 +1,8 @@
/** @type {import('next').NextConfig} */
const withPWA = require("next-pwa")({
dest: "public",
disable: process.env.NODE_ENV == "development"
disable: process.env.NODE_ENV == "development",
});
module.exports = withPWA();
module.exports = withPWA({ output: "standalone" });