Files
landing_page/refer_landing_page/next.config.js
T
Godopu 19f5056bef feat(docker): implement full frontend Next.js containerization and multi-service docker-compose
- Create multi-stage standalone Dockerfile for Next.js frontend (node:20-alpine, non-root nextjs:nodejs user)
- Configure output: 'standalone' in refer_landing_page/next.config.js
- Add refer_landing_page/.dockerignore for build context optimization
- Wire anl-backend and anl-frontend services in root docker-compose.yml with healthchecks, network dependencies, and persistent volume storage
2026-08-25 10:49:21 +09:00

17 lines
326 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
output: "standalone",
async redirects() {
return [
{
source: "/intro",
destination: "/",
permanent: true, // 308 permanent redirect (H-11 / IA-02)
},
];
},
};
module.exports = nextConfig;