Files
jzzliuandClaude Opus 5.5 c0b624554e Add Docker image for self-hosted deployment
- next.config: output "standalone" for a self-contained server bundle
- Dockerfile: multi-stage build that runs as the node user, read-only-rootfs
  friendly (Next cache symlinked to /tmp), with a healthcheck
- README: document deploying to playground.jun-liu.net

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-09 04:00:30 +00:00

19 lines
387 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
// Self-contained server bundle for the Docker image (see Dockerfile).
output: "standalone",
cacheComponents: true,
partialPrefetching: true,
turbopack: {
rules: {
"*.css": {
loaders: ["@tailwindcss/turbopack"],
as: "*.css",
},
},
},
};
export default nextConfig;