Update Dockerfile and Next.js configuration; enhance contact components
- Modify Dockerfile to install curl without recommended packages for a leaner image. - Update Next.js configuration to set outputFileTracingRoot for better Docker compatibility. - Revise contact components to improve messaging and clarity, changing "Get In Touch" to "Contact Me" and enhancing descriptions for collaboration opportunities. - Clean up Prisma schema by removing unnecessary comments and restructuring the Project model for clarity.
This commit is contained in:
@@ -8,6 +8,7 @@ dotenv.config({ path: path.resolve(__dirname, '.env') });
|
||||
const nextConfig: NextConfig = {
|
||||
// Enable standalone output for Docker
|
||||
output: 'standalone',
|
||||
outputFileTracingRoot: path.join(__dirname, '../../'),
|
||||
|
||||
// Optimize for production
|
||||
compress: true,
|
||||
@@ -42,8 +43,7 @@ const nextConfig: NextConfig = {
|
||||
minimumCacheTTL: 60,
|
||||
},
|
||||
|
||||
// Disable static generation for dynamic routes
|
||||
generateStaticParams: false,
|
||||
// Dynamic routes are handled automatically by Next.js
|
||||
|
||||
// Add cache-busting headers
|
||||
async headers() {
|
||||
|
||||
Reference in New Issue
Block a user