Parcourir la source

Update Dockerfile

Aykut Saraç il y a 2 ans
Parent
commit
75b4d907b3
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -2,7 +2,7 @@
 FROM node:14-alpine as builder
 WORKDIR /src
 COPY . /src/
-RUN npm ci && npm run build
+RUN yarn install --frozen-lockfile && yarn build
 
 # App
 FROM nginxinc/nginx-unprivileged