title: Building a compiled application with Docker
body: <p>I am building a server, written in C++ and want to deploy it using Docker with <a href="https://docs.docker.com/compose/" rel="noreferrer">docker-compose</a>. What is the "right way" to do it? Should I invoke <code>make</code> from Dockerfile or build manually, upload to some server and then <code>COPY</code> binaries from Dockerfile?</p>