It seems that
env vars are substituted into frontend scripts at build time. I was just wondering whether there's any way to delay this substitution until runtime so that I don't have to rebuild my docker container to update my S3 endpoint.
Hmm, this is an interesting problem. Since the bundle must be built before serving, I don't know of an easy way to accomplish this.
Are you using the cloud storage plugin?