From fd6e4ab9220c5e59e8a3f65f45ff229ce0298970 Mon Sep 17 00:00:00 2001 From: Max Litruv Boonzaayer Date: Thu, 4 Apr 2019 22:13:03 +1100 Subject: [PATCH] docker update + git fun --- Dockerfile | 3 --- commands/hello.js | 11 +++++++++++ package.json | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 commands/hello.js diff --git a/Dockerfile b/Dockerfile index 60061f7..e5e7e1d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/commands/hello.js b/commands/hello.js new file mode 100644 index 0000000..57cde59 --- /dev/null +++ b/commands/hello.js @@ -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!") + } +} \ No newline at end of file diff --git a/package.json b/package.json index 7727bd5..a5feb4d 100644 --- a/package.json +++ b/package.json @@ -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"