# 白名单模式:默认忽略一切,只放行镜像构建所需文件。 # 避免 Jenkins 工作区里的 .venv、html、脚本输出等大文件进入 build context。 * !app !app/** !requirements.txt **/__pycache__ **/*.pyc