This commit is contained in:
Adrian Amaglio 2020-04-02 19:44:17 +02:00
parent 094ace0d2f
commit c759779135
3 changed files with 32 additions and 0 deletions

3
.dockerignore Normal file
View File

@ -0,0 +1,3 @@
Dockerfile
node_modules
npm-debug.log

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
from node:alpine3.10
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY index.js avatar.jpg
EXPOSE 8080
CMD [ "node", "index.js" ]

18
package.json Normal file
View File

@ -0,0 +1,18 @@
{
"name": "educ-bot",
"version": "1.0.0",
"description": "Un petit bot d'éduc pop pour Discord (WIP). Il permet de voir qui secoue les mains dans une discussion vocale.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "ssh://git@git.jean-cloud.net:22529/theolem/educ-bot.git"
},
"author": "",
"license": "ISC",
"dependencies": {
"discord.js": "^12.1.1"
}
}