Update Dockerfile and Next.js configuration; enhance contact components
Some checks failed
CI/CD Pipeline / test (push) Successful in 10m55s
CI/CD Pipeline / security (push) Failing after 5m20s
CI/CD Pipeline / build (push) Has been skipped
CI/CD Pipeline / deploy (push) Has been skipped

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

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() {