Verified Commit 91ab148d authored by Renato Alves's avatar Renato Alves 🌱
Browse files

ENH Add Dockerfile and instructions to run the game with docker

closes #1
parent 120010bd
FROM node:alpine
LABEL maintainer "alves.rjc+docker@gmail.com"
RUN apk --no-cache add bash git python3
RUN mkdir -p /srv && \
git clone https://git.embl.de/ralves/dataquest.git /srv/dataquest && \
cd /srv/dataquest && \
sed "s/Set production websocket host here/127.0.0.1/" client/config/config_build.json-dist > client/config/config_build.json && \
bash bin/build_prod.sh && \
npm install
ENTRYPOINT ["/srv/dataquest/dumb_launch.sh"]
WORKDIR "/srv/dataquest"
......@@ -3,6 +3,16 @@ DataQuest derived from BrowserQuest [updated & modified to use Socket.IO]
![alt tag](https://git.embl.de/ralves/dataquest/raw/master/screens/1.png)
INSTALL
============
If you wish to give the game a quick try and have docker installed locally you can:
docker run -p 8000:8000 -p 9000:9000 unode/dataquest
and point your browser to [http://127.0.0.1:9000](http://127.0.0.1:9000)
Changes
============
* Updated backend and frontend to use Socket.IO server and Client
......@@ -18,6 +28,9 @@ TODO
* Quest system and more awesome features
This is my take on Mozilla's amazing multiplayer open source game.
I've yet to find any other game that's so well done from graphics, implementation and features point of view (did I mention open source, multiplayer and browser based?).
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment