Update Docker Compose, Next.js config, and GitHub Actions for optimized CI/CD. Added local build notes, skipped ESLint during CI builds, and modified deployment to use prebuilt artifacts for faster image creation.

This commit is contained in:
smhk1376 committed 2026-09-24 15:25:08 +03:30
1 parent 648777c649
commit 19b75671a0
4 files changed
+84 -11

No files matched your search

+1 -2
View File
@@ -1,5 +1,6 @@
services:
web:
# Local full build (slow). CI uses Dockerfile.prebuilt instead.
build:
context: .
dockerfile: Dockerfile
@@ -10,9 +11,7 @@ services:
- NODE_ENV=production
- PORT=3000
- HOSTNAME=0.0.0.0
# Optional override; falls back to DATABASE_URL in src/lib/db.ts
- DATABASE_URL=${DATABASE_URL:-}
# No published ports. Reachable only on shared_web_network
# Nginx Proxy Manager: aut.insaight.net → http://aut-management-faculty:3000
expose:
- "3000"