octachrome / treason

A clone of the card game Coup written in Node.js
Other
139 stars 79 forks source link

add Dockerfile and docker-compose to run Coup #72

Closed ScribblerCoder closed 4 months ago

ScribblerCoder commented 5 months ago

feature requested in https://github.com/octachrome/treason/issues/68.

I made a multistage Dockerfile that creates a 151MB docker image. With that I also created a simple docker-compose.yml file to make it easier for people to run the application using docker compose up.

@octachrome I noticed that by default the application runs without a database. If needed I can add it to the docker-compose so that it spins up a couchDB container alongside with the main application.

I hope this project is still maintained

octachrome commented 4 months ago

Sorry for slow response. This looks good. Can you please put the Docker stuff into its own directory to keep things tidy?

ScribblerCoder commented 4 months ago

Sorry for slow response. This looks good. Can you please put the Docker stuff into its own directory to keep things tidy?

Done. I also updated README.md with run instructions