Skip to content

Scheduling infrastructure for absolutely everyone.

Use "standalone" output to build Next.js as a standalone app when being built e.g. in Docker. (#15405)

Alex van Andel70b4e3a9c68c
diff --git a/apps/web/next.config.js b/apps/web/next.config.js
index 14da8a1da0a..289c645ec11 100644
--- a/apps/web/next.config.js
+++ b/apps/web/next.config.js
@@ -158,6 +158,7 @@ const matcherConfigUserTypeEmbedRoute = {
/** @type {import("next").NextConfig} */
const nextConfig = {
+ output: "standalone",
experimental: {
// externalize server-side node_modules with size > 1mb, to improve dev mode performance/RAM usage
serverComponentsExternalPackages: ["next-i18next"],