feat(entrypoint): Refactor entrypoint for leadership-aware process management and clean up register.sh

This commit is contained in:
2026-02-08 13:59:37 -08:00
parent e9b26f6eb9
commit 9cd5455378
3 changed files with 76 additions and 80 deletions

View File

@@ -12,9 +12,8 @@ RUN apk add --no-cache fuse3 ca-certificates bash curl
COPY --from=litefs /usr/local/bin/litefs /usr/local/bin/litefs
# Copy scripts
COPY register.sh /usr/local/bin/register.sh
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/register.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
# Copy LiteFS configuration
COPY litefs.yml /etc/litefs.yml