Fly should have a command just like secrets to store env vars for build time. The steps in the docs are not straightforward. Just allow people to specify wether some env vars should be accessible to both build and runtime. Make it easier, paste an env file or just a command options to the CLI for that. More and more frontend apps need those and it’s really not easy to do with fly right now. Backend apps don’t really need it t hough since they don’t usually require a build step.
There’s a flag to specify build time environemnt variables. I think it’s build-args or --build-env. Check the doc
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.