Browse Source

publish docker image on Docker Hub

Outsider 7 years ago
parent
commit
25c4a4d5d9
2 changed files with 9 additions and 1 deletions
  1. 8 0
      README.md
  2. 1 1
      package.json

+ 8 - 0
README.md

@@ -80,6 +80,14 @@ You can access <http://localhost:3000> on your web browser.
 ## Run with Docker
 ## Run with Docker
 
 
 It's easy to run this service if you have installed Docker on your system.
 It's easy to run this service if you have installed Docker on your system.
+Pull [the Docker image from Docker Hub](https://hub.docker.com/r/outsideris/slack-invite-automation/).
+
+```shell
+$ docker pull outsideris/slack-invite-automation
+$ docker run -it --rm -e COMMUNITY_NAME="YOUR-TEAM-NAME" -e SLACK_URL="YOUR-TEAM.slack.com" -e SLACK_TOKEN="YOUR-ACCESS-TOKEN" -p 3000:3000 outsideris/slack-invite-automation
+```
+
+Or, You can build a Docker image yourself.
 
 
 ```shell
 ```shell
 $ git clone https://github.com/outsideris/slack-invite-automation.git
 $ git clone https://github.com/outsideris/slack-invite-automation.git

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "slack-invite-automation",
   "name": "slack-invite-automation",
-  "version": "0.1.0",
+  "version": "0.2.0",
   "private": true,
   "private": true,
   "scripts": {
   "scripts": {
     "start": "node ./bin/www"
     "start": "node ./bin/www"