build(app): optimize app docker image size
export app static pages and deploy with Nginx image, instead of host `next start` service
This commit is contained in:
parent
655fbec583
commit
2f90e3f1a2
3 changed files with 6 additions and 3 deletions
|
|
@ -1,5 +1,6 @@
|
|||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
output: 'export',
|
||||
images: {
|
||||
remotePatterns: [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue