fix(docker): set NODE_ENV=production + BSB_LIVE=true

BSB needs BSB_LIVE=true for production mode. Without it, warns about
non-production and tries to write sec-config.yaml (which is read-only).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Mitchell R 2026-05-24 02:06:11 +02:00
parent 4b36812c80
commit e5551c4591
No known key found for this signature in database

View file

@ -83,6 +83,9 @@ RUN envsubst < /tmp/sec-config.template.yaml > /home/bsb/sec-config.yaml \
# Bake version
RUN echo "$BF_SERVER_VERSION" > /home/bsb/.bf-version
ENV NODE_ENV=production
ENV BSB_LIVE=true
VOLUME /var/lib/betterframe
EXPOSE 18080 18081 18082