mirror of https://github.com/usememos/memos.git
Fixes #5551 The Docker image now runs as non-root (UID 10001) for security, but this breaks upgrades from 0.25.3 where data files were owned by root. Changes: - Dockerfile: Keep USER as root, install su-exec - entrypoint.sh: Fix ownership of /var/opt/memos, then drop to non-root - Supports custom MEMOS_UID/MEMOS_GID env vars for flexibility This allows seamless upgrades without manual chown on the host. |
||
|---|---|---|
| .. | ||
| Dockerfile | ||
| build.sh | ||
| compose.yaml | ||
| entrypoint.sh | ||
| entrypoint_test.sh | ||