The image now starts through docker-entrypoint.sh: as root it hands /data and the backup folder to PUID:PGID (only files owned by someone else, so restarts stay fast), applies UMASK, and runs Canon as that user with su-exec. Started with --user, it runs Canon directly. The image defaults to 1000:1000; the Compose file presets Unraid's 99:100. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
15 lines
432 B
Plaintext
15 lines
432 B
Plaintext
# Send only what the build needs. Anything else in the project folder
|
|
# (data, backups, .env, files a deploy tool adds) stays out of the build,
|
|
# so it can't bloat the upload or change while it's being sent.
|
|
*
|
|
# Build tools may add their own copy of the Dockerfile (Arcane writes
|
|
# .arcane.external.Dockerfile), which has to reach the builder.
|
|
!*Dockerfile*
|
|
!docker-entrypoint.sh
|
|
!go.mod
|
|
!go.sum
|
|
!cmd/
|
|
!internal/
|
|
!web/
|
|
**/*_test.go
|