Fix Docker build issues

- Fix ENV format warnings in Dockerfile
- Set NODE_ENV=production during build
- Enable PWA plugin for all environments to ensure consistent builds
- Add debugging for build failures
This commit is contained in:
nmemmert committed 2025-10-22 13:10:27 -04:00
1 parent aa2c28d444
commit 08ca9ed7da
2 files changed
+10 -11

No files matched your search

+2 -2
View File
@@ -6,8 +6,8 @@ const nextConfig: NextConfig = {
/* config options here */
};
const config = process.env.NODE_ENV === 'production' ? withPWA({
const config = withPWA({
dest: 'public',
})(nextConfig) : nextConfig;
})(nextConfig);
export default config;