- Dockerfile.all-in-one: self-contained multi-stage build (frontend, Rust native cross-compile with Debian cross-GCC, server bundle, prod deps, runtime) for linux/amd64 + linux/arm64 - Fix aws-lc-sys asm build on arm64: use gcc-aarch64-linux-gnu instead of napi-rs cross-toolchain (bundled GCC 4.8.5 lacks __ARM_ARCH) - Reduce memory via CARGO_PROFILE_RELEASE_LTO=thin + codegen-units=8 - Runtime mirrors upstream layout incl. schema.prisma/migrations so the selfhost predeploy job works; installs openssl + libjemalloc2 - scripts/deploy-gitea.sh + .gitea-deploy: build/push to Gitea registry - .dockerignore: exclude dist/node_modules/tsbuildinfo from context
30 lines
454 B
Plaintext
30 lines
454 B
Plaintext
.git
|
|
.github/**/*.md
|
|
.gitignore
|
|
|
|
# Local dependency/build artifacts
|
|
/node_modules
|
|
/target
|
|
|
|
# Yarn v4 artifacts (not needed for image packaging)
|
|
/.yarn/cache
|
|
/.yarn/unplugged
|
|
/.yarn/install-state.gz
|
|
/.pnp.*
|
|
**/dist
|
|
**/node_modules
|
|
**/*.tsbuildinfo
|
|
|
|
# Test artifacts
|
|
/test-results
|
|
/playwright-report
|
|
/coverage
|
|
/.coverage
|
|
|
|
# OS noise
|
|
.DS_Store
|
|
|
|
# Sourcemaps (keep server sourcemap for backend stacktraces)
|
|
**/*.map
|
|
!packages/backend/server/dist/main.js.map
|