Mix run no prompt

Im deploying multiple nodes using docker and an elixir image, but the docker shuts down due to prompts about installing dependencies for the mix project. Is there a way to auto-acknowledge these prompts, or to pre-install the deps?

--yes or --force, depending on what exact command you are stuck with.

Most mix commands that require interaction though, tell you about --force when they can’t read input.

You might want to look into releases. That way your app is already compiled with all the deps and the runtime system, and there is nothing left to install on the target machine.

I assumed the OP were building the release in a docker box.

Ahh of course, sorry for the misunderstanding. :slight_smile: