- install.sh always asks for the install directory (--prefix or a prompt with confirmation, no default); refuses system directories, the repository checkout itself, paths inside/containing it and non-empty directories (a resumed install is allowed). A preflight refusal says nothing was changed. - UI is part of the repository: committed build in deploy/ui-dist with SOURCE_HASH and a staleness guard (check-ui.sh, loud warning). install.sh and update.sh resolve the UI: --ui-dist FILE|DIR, --build-ui, committed build; install stops without a UI unless --no-ui. update.sh swaps the UI when its hash differs from the installed one (.ui-source-hash). - build-ui.sh: --docker, --local (host Node >= 20.19, temporary copy), --node-download (portable Node, SHA-256 verified), --publish. - Verified on Alpine 3.23: install without UI options installs the real UI; local build equals the Docker build; update skips an unchanged UI and warns on a stale build. --node-download is untested (needs network). - Docs: Scenario 2 guide, change summary, plan, README. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
39 lines
802 B
Plaintext
39 lines
802 B
Plaintext
# Build context of the all-in-one image (deploy/allinone/Dockerfile) is the repository root.
|
|
# The per-component images (docker-compose.yml) use ./APP_UI, ./APP_CORE, ./APP_PROFILER as
|
|
# their own contexts, so this file does not affect them.
|
|
|
|
# VCS, local environments, secrets
|
|
.git
|
|
.gitignore
|
|
.claude
|
|
.env
|
|
**/.env
|
|
venv
|
|
**/venv
|
|
**/.venv
|
|
|
|
# Runtime data and local state: never part of an image
|
|
*.db
|
|
**/*.db
|
|
**/*.db.bak-*
|
|
**/easy-rsa
|
|
**/client-config
|
|
**/staging
|
|
backups
|
|
.ovpmon-*
|
|
**/*.log
|
|
|
|
# Build artefacts and caches
|
|
**/node_modules
|
|
**/dist
|
|
# the committed UI build of the system-service install (the all-in-one image builds the UI itself)
|
|
deploy/ui-dist
|
|
**/__pycache__
|
|
**/*.pyc
|
|
**/.pytest_cache
|
|
|
|
# Documentation and the compose files are not needed inside the image
|
|
DOCS
|
|
README.md
|
|
docker-compose*.yml
|