修改 Dockerfile,解决构建时错误
This commit is contained in:
@@ -1,18 +1,7 @@
|
||||
import type { NextConfig } from "next"
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
poweredByHeader: false,
|
||||
reactStrictMode: true,
|
||||
swcMinify: true,
|
||||
output: "standalone",
|
||||
images: {
|
||||
minimumCacheTTL: 60,
|
||||
formats: ["image/webp"],
|
||||
},
|
||||
experimental: {
|
||||
optimizeCss: true,
|
||||
serverComponentsExternalPackages: [],
|
||||
},
|
||||
}
|
||||
|
||||
export default nextConfig
|
||||
|
||||
Reference in New Issue
Block a user