Why not run it directly on the host machine during development, and run the docket image on the servers? This is the approach that I usually follow and it has worked fine for me so far. I need to build the Docker image locally only if something breaks down in the build pipeline.