Files
web-alterflixhub/.dockerignore
T
Bkk1234 ba51bdfb02 feat(docker): Dockerfile + docker-compose (พอร์ตมาจาก env PORT/HOST_PORT)
- Dockerfile 3 stage: deps (pnpm + build tools สำหรับ node-pty) → build (agent-native build) → runtime (node:22-bookworm-slim, user node, HEALTHCHECK ตาม PORT)
- docker-compose.yml: PORT = พอร์ตในคอนเทนเนอร์, HOST_PORT = พอร์ตที่แมปออก host (8080 บนเครื่องนี้ถูกยึด จึงตั้งต้นที่ 8095), TZ, mount ./data เก็บ content/uploads/analytics/pglite
- .dockerignore ตัด node_modules/.output/data/.env ออกจาก build context
- README: section "รันด้วย Docker" + ตาราง env; .env.example: PORT/HOST_PORT
2026-11-21 20:59:44 +07:00

28 lines
288 B
Plaintext

.git
.gitignore
node_modules
**/node_modules
.output
build
.build-old
.build.old
static-export
.deploy-tmp
.react-router
.generated
.agent-native
.env
.env.*
!.env.example
data
logs
*.log
.DS_Store
.vscode
.idea
netlify.toml
Dockerfile
docker-compose.yml
README.md
docs/architecture.html