added docker support

reworked backend to allow for containerization. config items can now be overwritten by environment vars

fixed bug during building

updated youtube-dl version in backend
This commit is contained in:
Isaac Grynsztein
2020-02-26 00:34:13 -05:00
parent e88edbef5a
commit c930ee94c5
8 changed files with 450 additions and 63 deletions

View File

@@ -4,7 +4,8 @@
"description": "backend for YoutubeDL-Material",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node app.js"
},
"repository": {
"type": "git",
@@ -24,6 +25,6 @@
"express": "^4.17.1",
"lowdb": "^1.0.0",
"shortid": "^2.2.15",
"youtube-dl": "^2.3.0"
"youtube-dl": "^3.0.2"
}
}