chore: add curl to appflowy cloud image to prepare for health check change

This commit is contained in:
khorshuheng 2025-01-24 12:20:04 +08:00
parent 5501fe3a88
commit 65939ede77
1 changed files with 6 additions and 6 deletions

View File

@ -33,12 +33,12 @@ RUN cargo build --profile=${PROFILE} --features "${FEATURES}" --bin appflowy_clo
FROM debian:bookworm-slim AS runtime FROM debian:bookworm-slim AS runtime
WORKDIR /app WORKDIR /app
RUN apt-get update -y \ RUN apt-get update -y \
&& apt-get install -y --no-install-recommends openssl ca-certificates \ && apt-get install -y --no-install-recommends openssl ca-certificates curl \
&& update-ca-certificates \ && update-ca-certificates \
# Clean up # Clean up
&& apt-get autoremove -y \ && apt-get autoremove -y \
&& apt-get clean -y \ && apt-get clean -y \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
COPY --from=builder /app/target/release/appflowy_cloud /usr/local/bin/appflowy_cloud COPY --from=builder /app/target/release/appflowy_cloud /usr/local/bin/appflowy_cloud
ENV APP_ENVIRONMENT production ENV APP_ENVIRONMENT production