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:
1 parent
aa2c28d444
commit
08ca9ed7da
2 files changed
+10
-11
No files matched your search
+2
-2
@@ -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;
|
||||
Reference in new issue
Block a user