Explorar el Código

Update Dockerfile

Aykut Saraç hace 2 años
padre
commit
75b4d907b3
Se han modificado 1 ficheros con 1 adiciones y 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