ajanata / PretendYoureXyzzy

A web clone of the card game Cards Against Humanity.
https://pretendyoure.xyz/zy
BSD 2-Clause "Simplified" License
1.23k stars 396 forks source link

Adding Docker docs to README #187

Closed emcniece closed 6 years ago

emcniece commented 6 years ago

Hello! I have Dockerized this project and wanted to share it. Feel free to merge or close this at your discretion.

This PR adds a link and some instructions to the README so that users can develop and play with this in a containerized environment.

Building and running this project is now possible with a single command:

# Build & run:
docker run -d --name pyx -p 8080:8080 emcniece/dockeryourxyzzy:dev

# Watch logs & wait for project to be ready:
docker logs -f pyx

# Visit http://localhost:8080 in browser
ajanata commented 6 years ago

I love the name.

I never bothered to version or tag since this was mainly just tracking my own servers, but if I ever end up doing much development on this anymore I should start doing that...