From fd25d8896a60f6ff5fac2f43f473520ce5f8a138 Mon Sep 17 00:00:00 2001 From: KGT1 Date: Mon, 21 Sep 2020 05:39:22 +0200 Subject: [PATCH] only install production in docker --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 682c39b..ce9d8ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ RUN apk add ffmpeg COPY . /app WORKDIR /app -RUN npm install +RUN npm install --only=production RUN npm run postinstall CMD node parseENV.js && npm run start \ No newline at end of file