perf: 添加docker-compose/name字段,ui/Dockerfile --frozen-lockfile

This commit is contained in:
dhb52 2023-05-10 23:39:31 +08:00
parent d794c2c198
commit 4891f18538
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
version: "3.8" version: "3.8"
name: yudao-system
services: services:
mysql: mysql:
container_name: yudao-mysql container_name: yudao-mysql

View File

@ -4,7 +4,7 @@ WORKDIR /admim
COPY .npmrc package.json yarn.lock ./ COPY .npmrc package.json yarn.lock ./
RUN --mount=type=cache,id=yarn-store,target=/root/.yarn-store \ RUN --mount=type=cache,id=yarn-store,target=/root/.yarn-store \
yarn install yarn install --frozen-lockfile
COPY . . COPY . .
ARG NODE_ENV="" ARG NODE_ENV=""