# erlexec: cannot execute binary file

**URL:** <https://forum.elixirforum.com/t/erlexec-cannot-execute-binary-file/60519>\
**Category:** Questions\
**Tags:** mix-release\
**Created:** [December 22, 2023, 12:26pm UTC](https://forum.elixirforum.com/t/erlexec-cannot-execute-binary-file/60519 "2023-12-22T12:26:30Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![pcriv](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/pcriv/32/32997_2.png) [@pcriv](https://forum.elixirforum.com/u/pcriv)\
**Post date:** [December 24, 2023, 7:11pm UTC](https://forum.elixirforum.com/t/erlexec-cannot-execute-binary-file/60519/15 "2023-12-24T19:11:00Z")

</div>

I finally found the issue… the problem is that when I was copying the files to the container, I was also copying the `_build` and `deps` folders from my machine, and that is where everything got mixed.  
Added a .dockerignore to exclude those folders and at least now the app tries to start… got a whole set of errors now but a lot less obscure.

Thanks for the help

---

_[View the full topic](https://forum.elixirforum.com/t/erlexec-cannot-execute-binary-file/60519)._
