Add frontend Dockerfile and integrate into docker-compose

- Multi-stage Dockerfile (deps → build → runner) for optimized production image
- Enable Next.js standalone output for minimal container size
- Add .dockerignore to exclude dev artifacts from build context
- Add frontend service to docker-compose.yml with API dependency

https://claude.ai/code/session_01QU6gpDgMtX4b9k1UXTivEf
This commit is contained in:
Claude 2026-02-22 09:37:59 +00:00
parent fb0d3ae8f1
commit 99f8ab11a8
No known key found for this signature in database
4 changed files with 65 additions and 1 deletions

View file

@ -1,7 +1,7 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
output: "standalone",
};
export default nextConfig;