76bd7b4756
- Dockerfile 多阶段构建,standalone 模式输出 - Jenkinsfile 定义 GitLab 触发的 CI/CD 流水线 - docker-compose.yml 简化部署 - next.config.ts 开启 standalone 输出
16 lines
260 B
TypeScript
16 lines
260 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: "standalone",
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "images.unsplash.com",
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|