What does deploy actually do?

I’m having a hard time understanding what’s going on under the hood when flyctrl deploy is called. For example:

  1. Looks for a dockerfile if it exists, if so, passed --env args of deploy commanand to such and such a command …
  2. If a dockerfile does not exists, …

I’m trying to understand why the env variables I’m passing to the command are not present during the build stage in my remix.js app derived from indie stack.

So, I figured out that my issues is that the machine is built in a different environment than the machine is run and I need to use the --build-arg to get env vars into my vite.config.ts , see: Environment variables - #11 by kurt

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.