From 8b03637b63ee719517b076b51f830fe78b34f0e1 Mon Sep 17 00:00:00 2001 From: "Juan Picado @jotadeveloper" Date: Sun, 18 Aug 2019 07:50:42 +0200 Subject: [PATCH] chore(docker): use yarn lock file --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 22fd9ccbd..dadb26dc6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM node:10.16-alpine as builder ENV NODE_ENV=production \ - VERDACCIO_BUILD_REGISTRY=https://registry.npmjs.org + VERDACCIO_BUILD_REGISTRY=https://registry.verdaccio.org RUN apk --no-cache add openssl ca-certificates wget && \ apk --no-cache add g++ gcc libgcc libstdc++ linux-headers make python && \ @@ -13,11 +13,11 @@ WORKDIR /opt/verdaccio-build COPY . . RUN yarn config set registry $VERDACCIO_BUILD_REGISTRY && \ - yarn install --production=false --no-lockfile && \ + yarn install --production=false && \ yarn lint && \ yarn code:docker-build && \ yarn cache clean && \ - yarn install --production=true --no-lockfile + yarn install --production=true