Lobby
Game with 2 players joined
- Build the image
docker build -t multipacman .
- Docker run
docker run -d --name multipacman -p 8080:5000 -v $(pwd)/appdata:/root/db --restart unless-stopped multipacman
Note: You can ignore the volume mount if you don't want previous user data to be saved
multipacman:
build:
context: .
dockerfile: Dockerfile
ports:
- "8080:5000"
volumes:
- ./appdata/:/root/db/
restart: unless-stopped
My friends and I originally wrote this using node and express (repo can be found here). Now I am rewriting it in go because I like go and this is a fun challenge.