diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..ee0bcea --- /dev/null +++ b/.dockerignore @@ -0,0 +1,24 @@ +# 镜像构建上下文瘦身:NAS 容器 bind-mount /app 提供代码与数据, +# 镜像只需 Python + 依赖层,下列大目录/文件不进上下文(1.9G → ~50MB)。 +data_cache/ +data/ +frontend/ +venv/ +venv310/ +logs/ +*.log +bt_*.log +.git/ +.gitignore +__pycache__/ +*.pyc +*.pyo +*.pyd +.DS_Store +*.db +*.sqlite +*.parquet +# 构建产物/临时 +*.egg-info/ +.pytest_cache/ +.cache/