Przeglądaj źródła

change in Dockerfile

oscarleiva 6 lat temu
rodzic
commit
3f971796ac
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -5,7 +5,7 @@ COPY package.json package-lock.json ./
 RUN npm i && mkdir /app && mv ./node_modules ./app
 WORKDIR /app
 COPY . .
-RUN npm run build --prod
+RUN ./node_modules/@angular/cli/bin/ng build --prod
 
 # Step 2: Use build output from 'builder'