For portable server software the right way to do it is docker, yeah. Just learn bare minimum, ask chatgpt to generate you a Dockerfile or look at github for projects with a similar stack, they'll most likely have a Dockerfile that you can learn from.