mars-interface/next-config.patch
Andrey Arapov 45aa641b2c
feat: introduce Dockerfile
This Dockerfile produces a tiny image, 244Mi in size only.

Heroku's buildpacks produces 3.74Gi in size.

Signed-off-by: Andrey Arapov <andrey.arapov@nixaid.com>
2023-02-07 20:33:43 +01:00

17 lines
347 B
Diff

diff --git a/next.config.js b/next.config.js
index 2801090..4b5fabe 100644
--- a/next.config.js
+++ b/next.config.js
@@ -48,6 +48,11 @@ const moduleExports = {
},
]
},
+ sentry: {
+ disableServerWebpackPlugin: true,
+ disableClientWebpackPlugin: true,
+ },
+ output: 'standalone'
}
const sentryWebpackPluginOptions = {