From 86219a92ba93d1c7d5aa4efc1dfb7d84ec6e5bd8 Mon Sep 17 00:00:00 2001 From: thespad Date: Sat, 29 Nov 2025 19:54:10 +0000 Subject: [PATCH] Revert entrypoint changes to avoid errors in some non-root cases --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 804eb765..f49da949 100644 --- a/Dockerfile +++ b/Dockerfile @@ -250,8 +250,10 @@ RUN mkdir -p /run/postgresql && \ RUN chown -R sourcebot:sourcebot /data COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf -COPY --chmod=+x prefix-output.sh ./prefix-output.sh -COPY --chmod=+x entrypoint.sh ./entrypoint.sh +COPY prefix-output.sh ./prefix-output.sh +RUN chmod +x ./prefix-output.sh +COPY entrypoint.sh ./entrypoint.sh +RUN chmod +x ./entrypoint.sh # Note: for back-compat cases, we do _not_ set the USER directive here. # Instead, the user can be overridden at runtime with --user flag.