unis_hrms/.dockerignore

31 lines
417 B
Plaintext

# 镜像只需要 app/ migrations/ web/,其余全部排除,构建上下文越小越快
.git
.gitignore
.dockerignore
.env
.env.*
*.tar.gz
# 本机的数据与依赖绝不进镜像
data/
web/dist/
web/node_modules/
node_modules/
.venv/
venv/
__pycache__/
*.py[cod]
.pytest_cache/
.ruff_cache/
*.db
*.db-journal
*.log
# 只跑服务用不到的目录
docs/
tests/
scripts/
README.md
Dockerfile
docker-compose.yml