feat: 删除无用依赖,shiki lang使用懒加载方式加载语言

This commit is contained in:
2026-08-16 13:29:58 +08:00
parent 070a63133d
commit be2e6f1ae0
9 changed files with 54 additions and 1131 deletions

View File

@@ -1,12 +1,13 @@
FROM alpine:3.22 AS base
WORKDIR /app
RUN apk add --no-cache --update nodejs pnpm
RUN apk add --no-cache --update nodejs
FROM base AS install
RUN apk add --no-cache pnpm
ENV NODE_ENV=production
COPY package.json pnpm-lock.yaml ./
RUN pnpm install
RUN pnpm install --frozen-lockfile
FROM install AS build
COPY . .