pokemon-showdown icon indicating copy to clipboard operation
pokemon-showdown copied to clipboard

Add a Dockerfile for running the server

Open brandon-layton opened this issue 2 years ago • 1 comments

Having a docker image to run the server with makes it simple for a lot of people to host there own server that they might want to use. Having to set this up natively or on a vm is not appealing for many people and may be a stopping point for some when they want to run there own server. A container will make running a server more accessible for people to do.

I have looked at previous efforts and there seem to be old images and Dockerfiles out there but none that are kept up to date with the latest version. The best effort I saw was with this pull request #6184 and there were some good points to why it was not accepted. The biggest I saw was about the data in certain directories not being persistent. In my version of the Dockerbuild I added volumes for the directories that were stated to be a concern. Adding more as they are needed is also not a hard thing to do.

I also have my Dockerfile get the latest release automatically from a git clone into the container. This also make the Dockerfile not have to be updated everytime a new release comes out.

brandon-layton avatar Mar 18 '22 05:03 brandon-layton

You may be interested in issue #8824.

AnnikaCodes avatar Jul 21 '22 02:07 AnnikaCodes

Going to close this since it's been inactive for several years. Please feel free to reopen it if you're going to work on it again.

mia-pi-git avatar Oct 22 '23 23:10 mia-pi-git