feat: inform

This commit is contained in:
archer
2023-06-06 22:07:55 +08:00
parent 941549ff04
commit 55d0ed9de6
22 changed files with 561 additions and 102 deletions

View File

@@ -6,6 +6,7 @@ WORKDIR /app
# Install dependencies based on the preferred package manager
COPY package.json pnpm-lock.yaml* ./
RUN pnpm config set registry https://registry.npmmirror.com/
RUN \
[ -f pnpm-lock.yaml ] && pnpm install || \
(echo "Lockfile not found." && exit 1)