dockerize

This commit is contained in:
Chris Ham
2024-02-27 18:27:31 -08:00
parent 30f8307551
commit abdc894359
6 changed files with 339 additions and 236 deletions

View File

@@ -2,7 +2,7 @@
"name": "ghbot",
"version": "1.6.9",
"description": "",
"main": "discord.js",
"main": "index.js",
"dependencies": {
"axios": "^0.21.2",
"discord.js": "^12.5.3",
@@ -12,7 +12,8 @@
},
"devDependencies": {},
"scripts": {
"start": "pm2 start discord.js --name ghbot-discord"
"build": "docker build -t ghbot:latest .",
"start": "docker run -d --name ghbot ghbot:latest"
},
"author": "",
"license": "MIT"