Add Docker support and containerization

- Add Dockerfile for Next.js application
- Configure standalone output for Docker
- Add .dockerignore file
- Add docker-compose.yml for easy deployment
- Update next.config.ts for Docker compatibility
This commit is contained in:
nmemmert committed 2025-10-22 12:42:41 -04:00
1 parent 91d417159d
commit fba1097380
20 files changed
+6085 -253

No files matched your search

+7 -1
View File
@@ -1,7 +1,13 @@
import type { NextConfig } from "next";
const withPWA = require('next-pwa');
const nextConfig: NextConfig = {
output: 'standalone',
/* config options here */
};
export default nextConfig;
const config = process.env.NODE_ENV === 'production' ? withPWA({
dest: 'public',
})(nextConfig) : nextConfig;
export default config;