diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..29d55724 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM node:8.0.0-alpine + +COPY package.json . + +RUN npm install + +COPY . . + +EXPOSE 3000 + +ENTRYPOINT [ "npm" ] + +CMD [ "start" ] \ No newline at end of file diff --git a/README.md b/README.md index a81f05ec..d3ac15ba 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,10 @@ These instructions will get you a copy of the project up and running on your loc Required: Node.js **^ V8.0.0** this program uses ES7 features such as async/await and requires a newer version of node. +### Run with Docker +Simply run `docker run -d -p 3000:3000 olsynt/cryptocurrencyarbitrage` +Open your browser localhost:3000 + ### Installing In a terminal write the following: