If you have your project packaged with nix (which shouldn't be too complicated if your build process is not too special) it is trivial to turn a nix derivation into a docker image: https://nixos.org/manual/nixpkgs/stable/#ssec-pkgs-dockerToo.... As a bonus, it is completely language-agnostic.