mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 20:16:35 +00:00
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:
parent
4b36812c80
commit
e5551c4591
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue