This commit is contained in:
celebrateyang 2024-10-09 15:51:18 +08:00
parent 2fbac6cb51
commit 695746ce15

View File

@ -15,12 +15,12 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store \
RUN pnpm deploy --filter=@imput/cobalt-api --prod /prod/api
# 安装 curl
RUN apt-get update && apt-get install -y curl unzip && rm -rf /var/lib/apt/lists/*
FROM base AS api
WORKDIR /app
# 安装 curl
RUN apt-get update && apt-get install -y curl unzip
COPY --from=build /prod/api /app
COPY --from=build /app/.git /app/.git