I'm not sure how you are spinning up the server but I'd highly recommend going through Docker if you haven't tried that already.
https://github.com/DarkMatterProductions/vintagestory?tab=readme-ov-file#basic-server
It is a tad easier to manage using Docker Compose but the README above has all the instructions for interacting with the docker container. Compose is easier because you can access/edit server files more readily.