Explorar o código

Update Dockerfile

Aykut Saraç %!s(int64=2) %!d(string=hai) anos
pai
achega
75b4d907b3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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