feat: Dockerize web application by adding Dockerfile, .dockerignore, and configuring next.config for standalone output and image optimization.

This commit is contained in:
pradeepkumar
2025-12-24 06:39:10 +05:30
parent b5f18910ab
commit d308a4c52c
3 changed files with 131 additions and 1 deletions

View File

@@ -1,7 +1,18 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
// Enable standalone output for Docker
output: "standalone",
// Image optimization
images: {
remotePatterns: [
{
protocol: "https",
hostname: "**",
},
],
},
};
export default nextConfig;