Browse Source

Update Dockerfile

Aykut Saraç 2 years ago
parent
commit
75b4d907b3
1 changed files with 1 additions and 1 deletions
  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