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:
denshooter
2025-09-11 10:13:35 +02:00
parent 09d925745d
commit 519ca43168
6 changed files with 84 additions and 99 deletions
+2 -2
View File
@@ -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() {