Either I'm doing something wrong or Heroku is messing up. Heroku supports
and then prod follows dev
I would expect it to jump from base
to prod
, skipping dev
.
Is this an issue on my side or Heroku's?
CodePudding user response:
I haven't tested this with heroku.yml
because I've moved to GitHub Actions but I believe the error was having prod
come after dev
. Apparently the --target
flag in docker build
means it will stop at that stage, so it will run everything before it.