docker update + git fun

This commit is contained in:
2019-04-04 22:13:03 +11:00
parent 75fa6e7b8c
commit fd6e4ab922
3 changed files with 12 additions and 4 deletions

View File

@@ -7,9 +7,6 @@ WORKDIR /app
COPY package.json /app
# We then run npm install to install
# express for our applicationRUN
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y git
RUN npm install
# We then copy the rest of our application
# to the app direcoty

11
commands/hello.js Normal file
View File

@@ -0,0 +1,11 @@
module.exports = {
name: "Hello",
alias: ['hi'],
helptext: "Says G'day",
helphide: false,
permissions: ['READ_MESSAGES'],
category: 'general',
command: (client, msg) => {
msg.reply("G'day!")
}
}

View File

@@ -13,7 +13,7 @@
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "git pull && node index.js"
"start": "node index.js"
},
"author": "",
"license": "ISC"