mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-25 23:33:00 +08:00
Update egg-discord-js-generic.json
This pr removes some useless code and removes the --production on npm install, as discord often uses -dev packages and removes confusion. Makes it generally more simple for people to run bots without having to figure out to remove the --production (not needed for bots)
This commit is contained in:
parent
f4f3f9e72f
commit
fc58a5db0a
@ -17,7 +17,7 @@
|
||||
"quay.io\/parkervcp\/pterodactyl-images:debian_nodejs-10"
|
||||
],
|
||||
"file_denylist": [],
|
||||
"startup": "if [[ -d .git ]] && [[ {{AUTO_UPDATE}} == \"1\" ]]; then git pull; fi; if [[ ! -z ${NODE_PACKAGES} ]]; then \/usr\/local\/bin\/npm install ${NODE_PACKAGES}; fi; if [ -f \/home\/container\/package.json ]; then \/usr\/local\/bin\/npm install --production; fi; \/usr\/local\/bin\/node \/home\/container\/{{BOT_JS_FILE}}",
|
||||
"startup": "if [[ -d .git ]] && [[ {{AUTO_UPDATE}} == \"1\" ]]; then git pull; fi; if [[ ! -z ${NODE_PACKAGES} ]]; then npm install ${NODE_PACKAGES}; fi; if [ -f \/home\/container\/package.json ]; then npm install; fi; node \/home\/container\/{{BOT_JS_FILE}}",
|
||||
"config": {
|
||||
"files": "{}",
|
||||
"startup": "{\r\n \"done\": \"change this part\"\r\n}",
|
||||
@ -105,4 +105,4 @@
|
||||
"rules": "nullable|string"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user