Not able to run escript build on remote nodes

I have built an executable using mix It is working fine on local machine but not running on the docker container.

When trying to run the executable on the docker container, I get the error

/usr/bin/env: 'escript': No such file or directory

Do I need to install elixir on the remote node as well to run the executable ?