Add Docker support (standalone Next.js output)

Multi-stage Dockerfile producing a minimal runtime image via
next.config.ts's output:"standalone". NEXT_PUBLIC_API_URL is taken as
a build arg since it gets baked into the client bundle at build time.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-16 00:01:41 +03:30
parent 36faf4706a
commit 665838bbe7
3 changed files with 44 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
node_modules
.next
.git
.env
.env.local
!.env.local.example
npm-debug.log*
uploads