4aebfaf049
- .gitignore 추가: node_modules, dist, .env 파일을 추적에서 해제 (로컬 파일은 유지) - .env.example 템플릿 추가 (실제 값은 서버 .env / Gitea Secrets로 관리) - backend Dockerfile을 멀티스테이지로 전환: 이미지 빌드 내에서 npm ci + build.js 실행 - backend/frontend .dockerignore 추가 - .gitea/workflows/deploy.yml 추가: main push 시 배포 서버 러너가 compose build + up Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
19 lines
230 B
Plaintext
19 lines
230 B
Plaintext
# Dependencies
|
|
node_modules/
|
|
|
|
# Build outputs
|
|
dist/
|
|
|
|
# Environment files (secrets) — use .env.example as template
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
|
|
# Uploads / generated assets
|
|
backend/img/
|
|
|
|
# Logs & OS files
|
|
*.log
|
|
.DS_Store
|
|
Thumbs.db
|