feat: Dockerize web application by adding Dockerfile, .dockerignore, and configuring next.config for standalone output and image optimization.

This commit is contained in:
pradeepkumar
2025-12-24 06:39:16 +05:30
parent 099622dc88
commit fb57d1b8a4
3 changed files with 171 additions and 0 deletions

53
.dockerignore Normal file
View File

@@ -0,0 +1,53 @@
# Dependencies
node_modules
npm-debug.log
# Build output
dist
# Environment files
.env
.env.*
!.env.example
# IDE
.idea
.vscode
*.swp
*.swo
# OS
.DS_Store
Thumbs.db
# Git
.git
.gitignore
# Docker
Dockerfile
docker-compose*.yml
.dockerignore
# Testing
coverage
.nyc_output
test
*.spec.ts
*.test.ts
# Documentation
docs
*.md
!README.md
# Logs
logs
*.log
# Prisma
prisma/migrations
# Misc
.eslintcache
.prettierignore