Binaries missing from make install in dockerimage

I am running make install in my dockerfile to build a c++ application and install it to a certain folder. Performing an ls in the dockerfile after the code has compiled shows that the binaries did install. But when I open a command line in the image, the binaries are suddenly missing.

Has anybody had this issue before? Broadly, what can cause this to happen?

How should I debug this issue?