김연준

delete duplicate cmd on Dockerfile and update README.md

...@@ -10,5 +10,4 @@ COPY . . ...@@ -10,5 +10,4 @@ COPY . .
10 10
11 ENV NAME joker 11 ENV NAME joker
12 12
13 -CMD ["node","db_control"]
14 CMD ["npm", "start"] 13 CMD ["npm", "start"]
...\ No newline at end of file ...\ No newline at end of file
......
1 <h1>Building a Slackbot</h1><br> 1 <h1>Building a Slackbot</h1><br>
2 -<h2>A slackbot that reacts to user's chat and sends jokes </h2><br> 2 +<h2>A slackbot that reacts to user's chat and sends jokes </h2><br><br>
3 +
4 +<h3>Currently operating on aws EC2 / managing it to run on docker container combining mongodb and the code to interact on 'aws docker version' branch
3 5
4 ![joker_fix](https://user-images.githubusercontent.com/39256000/58455581-0ce84100-815d-11e9-833c-90c7af08f52f.jpg) 6 ![joker_fix](https://user-images.githubusercontent.com/39256000/58455581-0ce84100-815d-11e9-833c-90c7af08f52f.jpg)
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -8,7 +8,8 @@ const url = 'mongodb://localhost:27017/'; ...@@ -8,7 +8,8 @@ const url = 'mongodb://localhost:27017/';
8 exports.startbot = ()=>{ 8 exports.startbot = ()=>{
9 // Get authorization to use the slackbot 9 // Get authorization to use the slackbot
10 const bot = new SlackBot({ 10 const bot = new SlackBot({
11 - token : "xoxb-582582124755-587875604934-gdWsVhzGXCze3mECWXpTsAP6", 11 + //xoxb-582582124755-587875604934-gdWsVhzGXCze3mECWXpTsAP6
12 + token : "",
12 name : "Joker" 13 name : "Joker"
13 }); 14 });
14 15
......