Files
fire/next.config.ts
Felix Schulze 17a694d4b5
All checks were successful
Lint / Lint and Typecheck (push) Successful in 48s
Adds Docker support for Next.js standalone
Adds a production-ready Dockerfile and .dockerignore, and updates Next.js config to produce a standalone output.

Provides a multi-stage build that installs dependencies (yarn/npm/pnpm supported), runs the Next.js build, and assembles a slim runtime image on Node Alpine. Configures a non-root runtime user, exposes PORT 3000, and includes runtime utilities and compatibility packages to ensure reliable container execution. These changes enable consistent, smaller production container images and simplified deployment.
2025-12-09 13:46:54 +01:00

13 lines
264 B
TypeScript

/**
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
* for Docker builds.
*/
import './src/env.ts';
/** @type {import("next").NextConfig} */
const config = {
output: 'standalone',
};
export default config;