feat(01-01): create multi-stage Dockerfile

- Multi-stage build using golang:1.25-bookworm and debian:bookworm-slim
- CGO_ENABLED=0 for static binary compilation
- Cross-platform support via TARGETOS/TARGETARCH
- Non-root user (appuser) for security
- Data volume mount at /data
- Port 32768 exposed
- .dockerignore excludes build artifacts and planning docs
This commit is contained in:
acty
2026-02-03 18:05:15 +09:00
parent 2691ded819
commit 38edbf63cc
2 changed files with 48 additions and 0 deletions

11
.dockerignore Normal file
View File

@@ -0,0 +1,11 @@
.git
.gitignore
README.md
*.md
.env
.env.local
.DS_Store
.air.toml
docker-compose.yml
.planning/
tmp/