How to access server.json in docker image

I know launch parameters are passed to the entry point but I’m very confused about the server.json behavior. If I understand correctly the server.json will be copied next to my game files and executable. But how can I access this file if I want to use a Docker image? How am I supposed to mount the server.json so my server code can access it inside the container?

Hello,

The server.json file should already be mounted into your container. Look for the $HOME environment variable (assuming you are running a Linux container), this will give you the path to the directory where the server.json exists

1 Like

Thanks!