feat: reduce docker image size by using next standalone output (#89)

This commit is contained in:
Henry
2025-06-18 22:16:50 +01:00
committed by GitHub
parent 02d3d300fb
commit c272c38f6b
7 changed files with 155 additions and 83 deletions

View File

@@ -10,7 +10,10 @@ configureRuntimeEnv();
/** @type {import("next").NextConfig} */
const config = {
// output: "standalone",
output:
env("NEXT_PUBLIC_USE_STANDALONE_OUTPUT") === "true"
? "standalone"
: "export",
reactStrictMode: true,
/** Enables hot reloading for local packages without a build step */