With the current approach on docker entrypoint for updating the files to the new custom UID/GID it takes forever to finish the process, which timeouts in a reasonable production container health check.
Why not just use chown -rf mastodon:mastodon /mastodon/public/system instead of finding and filtering non-mastodon files?
With the current approach on docker entrypoint for updating the files to the new custom UID/GID it takes forever to finish the process, which timeouts in a reasonable production container health check.
Why not just use
chown -rf mastodon:mastodon /mastodon/public/systeminstead of finding and filtering non-mastodon files?master(If you're a user, don't worry about this).