From 4891f1853848782da3e17708b6146b09ce988972 Mon Sep 17 00:00:00 2001 From: dhb52 Date: Wed, 10 May 2023 23:39:31 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=B7=BB=E5=8A=A0docker-compose/name?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=EF=BC=8Cui/Dockerfile=20--frozen-lockfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 2 ++ yudao-ui-admin/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 0d9e9754d9..29f935367d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,7 @@ version: "3.8" +name: yudao-system + services: mysql: container_name: yudao-mysql diff --git a/yudao-ui-admin/Dockerfile b/yudao-ui-admin/Dockerfile index 6c74b4eaaf..4764e741bb 100644 --- a/yudao-ui-admin/Dockerfile +++ b/yudao-ui-admin/Dockerfile @@ -4,7 +4,7 @@ WORKDIR /admim COPY .npmrc package.json yarn.lock ./ RUN --mount=type=cache,id=yarn-store,target=/root/.yarn-store \ - yarn install + yarn install --frozen-lockfile COPY . . ARG NODE_ENV=""