- Dockerfile: deps → builder → pb-downloader → runner stages, cross-arch (BUILDPLATFORM node stages, TARGETARCH PocketBase binary), Debian slim runner, VOLUME /app/pb_data, dual healthcheck, docker-entrypoint.sh - docker-entrypoint.sh: bash supervisor replacing scripts/run-all.mjs - Makefile: build-production (multi-arch push from git remote), build-check, build-check-local - deploy.sh [tag]: make build-production then ansible-playbook with tag - drop .env/.env.example (credentials live in ansible/vars/default.yml)
25 lines
329 B
Plaintext
25 lines
329 B
Plaintext
# Keep the build context small and secret-free
|
|
.git
|
|
.gitignore
|
|
.dockerignore
|
|
.env
|
|
.npm-cache
|
|
.tmp-pb
|
|
design
|
|
*.zip
|
|
|
|
# Node artifacts
|
|
**/node_modules
|
|
app/.output
|
|
app/.nitro
|
|
app/dist
|
|
|
|
# Ops assets not needed inside the image
|
|
ansible
|
|
ansible-sample
|
|
Dockerfile-sample
|
|
deploy-sample.sh
|
|
Makefile
|
|
README.md
|
|
scripts/create-collections.sh
|