Explorar o código

change in Dockerfile

oscarleiva %!s(int64=6) %!d(string=hai) anos
pai
achega
3f971796ac
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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'