An example of this is I am building an Expo web app that needs an environment-specific API URL to call. It would be nice to pull in .env.{environment} into Expo for build args. This would compliment how we pass it entrypoint for runtime env vars.
So, essentially, hx would add --build-arg HYPHEN_APP_ENVIRONMENT=development to its docker build command.
An example of this is I am building an Expo web app that needs an environment-specific API URL to call. It would be nice to pull in .env.{environment} into Expo for build args. This would compliment how we pass it entrypoint for runtime env vars.
So, essentially, hx would add
--build-arg HYPHEN_APP_ENVIRONMENT=developmentto its docker build command.