FROM node:18-alpine WORKDIR /app COPY . . RUN yarn install --frozen-lockfile RUN yarn build:mp-weixin # 输出路径:你可以挂载 dist 出来 CMD ["ls", "-alh", "dist/build/mp-weixin"]