Revert entrypoint changes to avoid errors in some non-root cases

This commit is contained in:
thespad 2025-11-29 19:54:10 +00:00
parent 37fc13d14a
commit 86219a92ba
No known key found for this signature in database
GPG key ID: 08F06191F4587860

View file

@ -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.