简体   繁体   中英

Elixir: Could not find application file: runtime_tools.app

I am using Docker to develop an Elixir umbrella app. I have one umbrella app and inside a Phoenix app. When I start the code locally with mix phx.server everything works. When I do the same inside the Docker container (code is synced via docker-sync ) I get this error:

(Mix) Could not start application runtime_tools: could not find application file: runtime_tools.app

Any idea on how to fix this?

Turns out erlang-runtime-tools was not installed in my docker image. Adding

RUN apk --update add erlang-runtime-tools

to the dockerfile fixed the issue. Thanks @Alexei Sholik for pointing this out.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM