Files
sub2api/.dockerignore
T
李建琦 6d655c9903
Release / update-version (push) Has been cancelled
Release / build-frontend (push) Has been cancelled
Release / release (push) Has been cancelled
Release / sync-version-file (push) Has been cancelled
CI / shell (push) Canceled after 0s
CI / test (push) Canceled after 0s
CI / frontend (push) Canceled after 0s
CI / golangci-lint (push) Canceled after 0s
Security Scan / backend-security (push) Canceled after 0s
Security Scan / frontend-security (push) Canceled after 0s
Sub2API v1.0 - AI API 网关(二开初始版本,基于上游 Wei-Shaw/sub2api)
2026-08-21 18:30:13 +08:00

83 lines
1.2 KiB
Plaintext

# =============================================================================
# Docker Ignore File for Sub2API
# =============================================================================
# Git
.git
.gitignore
.gitattributes
# Documentation
*.md
!deploy/DOCKER.md
docs/
# admin-compliance gate (LegalDocumentView.vue) build-time imports
# docs/legal/*.md?raw into the frontend bundle; keep that subtree in the
# Docker build context even though docs/ is otherwise excluded.
!docs/legal/
!docs/legal/*.md
# IDE
.idea/
.vscode/
*.swp
*.swo
# OS files
.DS_Store
Thumbs.db
# Build artifacts
dist/
build/
# Node modules (will be installed in container)
frontend/node_modules/
node_modules/
# Go build cache (will be built in container)
backend/vendor/
# Test files
*_test.go
**/*.test.js
coverage/
.nyc_output/
# Environment files
.env
.env.*
!.env.example
# Local config
config.yaml
config.local.yaml
# Logs
*.log
logs/
# Temporary files
tmp/
temp/
*.tmp
# Deploy files (not needed in image)
deploy/install.sh
deploy/sub2api.service
deploy/sub2api-sudoers
deploy/data/
deploy/postgres_data/
deploy/redis_data/
# GoReleaser
.goreleaser.yaml
# GitHub
.github/
# Claude files
.claude/
issues/
CLAUDE.md