clangcn/game-server

求个dockerfile方便部署。

Opened this issue · 6 comments

xzdbd commented

I updated the sh file and create a Dockerfile for docker.

https://github.com/xzdbd/game-server

https://hub.docker.com/r/xzdbd/game-server/

Please try and let me know if you encounter any issue.

@xzdbd thank you for your work! i'll try it ^_^

@xzdbd 我觉得不太对,是不是应该用alpine的镜像? 还有是不是dockerfile里面应该指定端口为UDP?

xzdbd commented

@Eric21
从作者的脚本看,不支持alpine。只支持CentOS, Debian, Ubuntu。
另外,部署时将tcp和udp端口都expose出来即可。

@xzdbd 好的,多谢指点。

NAS 上部署了一个,给力