From fb897c75a7149e2e8a63ff41400221233166d99b Mon Sep 17 00:00:00 2001 From: Vincent Fretin Date: Fri, 22 May 2020 10:37:17 +0200 Subject: [PATCH] docker build : install devDependencies so the build succeed (#1625) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 732f1df9..25805cb5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ FROM node:14-alpine AS build -ENV NODE_ENV=production WORKDIR /usr/src/app COPY package.json package-lock.json ./ RUN npm install COPY . . +ENV NODE_ENV=production RUN npm run build:app FROM nginx:1.17-alpine