only install production in docker

This commit is contained in:
KGT1 2020-09-21 05:39:22 +02:00
parent f020613759
commit fd25d8896a

View File

@ -3,7 +3,7 @@ RUN apk add ffmpeg
COPY . /app COPY . /app
WORKDIR /app WORKDIR /app
RUN npm install RUN npm install --only=production
RUN npm run postinstall RUN npm run postinstall
CMD node parseENV.js && npm run start CMD node parseENV.js && npm run start