mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-29 18:08:28 +00:00
fix can't visit through https://cobalt.tianfujixing.com-4
This commit is contained in:
parent
2fbac6cb51
commit
695746ce15
@ -15,12 +15,12 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store \
|
|||||||
|
|
||||||
RUN pnpm deploy --filter=@imput/cobalt-api --prod /prod/api
|
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
|
FROM base AS api
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
# 安装 curl
|
||||||
|
RUN apt-get update && apt-get install -y curl unzip
|
||||||
|
|
||||||
COPY --from=build /prod/api /app
|
COPY --from=build /prod/api /app
|
||||||
COPY --from=build /app/.git /app/.git
|
COPY --from=build /app/.git /app/.git
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user