build(app): optimize app docker image by use Next.js standalone output

This commit is contained in:
WanQuanXie 2024-05-09 02:16:45 +08:00
parent 4f5f6be85f
commit 838b779f3d
2 changed files with 19 additions and 7 deletions

View file

@ -1,5 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
images: {
remotePatterns: [
{