Fixed issue (hopefully) where nodemon is not properly installed on Docker

pull/360/head
Isaac Abadi 5 years ago
parent 4c1f975eae
commit aefdde5401

@ -3,7 +3,7 @@ FROM alpine:3.12 as frontend
RUN apk add --no-cache \
npm
RUN npm install -g @angular/cli nodemon
RUN npm install -g @angular/cli
WORKDIR /build
COPY [ "package.json", "package-lock.json", "/build/" ]

@ -4,8 +4,9 @@
"description": "backend for YoutubeDL-Material",
"main": "index.js",
"scripts": {
"preinstall": "npm i nodemon -g",
"test": "echo \"Error: no test specified\" && exit 1",
"start": "nodemon -q app.js"
"start": "nodemon app.js"
},
"nodemonConfig": {
"ignore": [
@ -48,7 +49,7 @@
"multer": "^1.4.2",
"node-fetch": "^2.6.1",
"node-id3": "^0.1.14",
"nodemon": "^2.0.2",
"nodemon": "^2.0.7",
"passport": "^0.4.1",
"passport-http": "^0.3.0",
"passport-jwt": "^4.0.0",

Loading…
Cancel
Save