fix(ci-image): include vendored tauri-cef in CI Docker build context

The root .dockerignore excludes `app/` (it's sized for the openhuman-core
Dockerfile), which also excludes `app/src-tauri/vendor/tauri-cef`. The CI
image Dockerfile at .github/Dockerfile needs that path to compile the
CEF-aware tauri-cli, so the docker-ci-image workflow fails at the
`COPY app/src-tauri/vendor/tauri-cef /opt/tauri-cef` step.

BuildKit prefers `<dockerfile>.dockerignore` over the root one, so add a
dedicated .github/Dockerfile.dockerignore that keeps the vendored
submodule while still stripping target/, node_modules/, etc. Verified
locally: `docker build -f .github/Dockerfile .` reaches the verify step
with `cargo tauri --version` printing 2.10.1.
This commit is contained in:
Steven Enamakel
2026-04-17 20:05:40 -07:00
parent 93e85c2df3
commit f88d6572fb
+34
View File
@@ -0,0 +1,34 @@
# BuildKit prefers <dockerfile>.dockerignore over root .dockerignore when
# building this specific Dockerfile. The root .dockerignore excludes `app/`
# (sized for the openhuman-core image), but the CI image needs the vendored
# tauri-cef submodule to compile the CEF-aware tauri-cli.
# Build artifacts
target/
app/src-tauri/target/
app/src-tauri/vendor/tauri-cef/target/
# Node / frontend (not needed for CI image)
node_modules/
app/node_modules/
app/dist/
app/.vite/
# IDE / editor
.idea/
.vscode/
*.swp
*.swo
*~
# Git metadata (keep .gitmodules so submodule state is observable)
.git/
# OS files
.DS_Store
Thumbs.db
# Environment / secrets
.env
.env.*
!.env.example