mirror of
https://github.com/litruv/DAdmin.git
synced 2026-07-24 10:46:14 +10:00
docker update + git fun
This commit is contained in:
@@ -7,9 +7,6 @@ WORKDIR /app
|
|||||||
COPY package.json /app
|
COPY package.json /app
|
||||||
# We then run npm install to install
|
# We then run npm install to install
|
||||||
# express for our applicationRUN
|
# express for our applicationRUN
|
||||||
RUN apt-get update && \
|
|
||||||
apt-get upgrade -y && \
|
|
||||||
apt-get install -y git
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
# We then copy the rest of our application
|
# We then copy the rest of our application
|
||||||
# to the app direcoty
|
# to the app direcoty
|
||||||
|
|||||||
11
commands/hello.js
Normal file
11
commands/hello.js
Normal 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!")
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
"devDependencies": {},
|
"devDependencies": {},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"start": "git pull && node index.js"
|
"start": "node index.js"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC"
|
"license": "ISC"
|
||||||
|
|||||||
Reference in New Issue
Block a user