Merge pull request #1193 from AppFlowy-IO/add-curl-for-appflowy-cloud-image

chore: add curl to appflowy cloud image
This commit is contained in:
Khor Shu Heng 2025-01-24 12:22:53 +08:00 committed by GitHub
commit ea1285f615
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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
WORKDIR /app
RUN apt-get update -y \
&& apt-get install -y --no-install-recommends openssl ca-certificates \
&& update-ca-certificates \
# Clean up
&& apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
&& apt-get install -y --no-install-recommends openssl ca-certificates curl \
&& update-ca-certificates \
# Clean up
&& apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
COPY --from=builder /app/target/release/appflowy_cloud /usr/local/bin/appflowy_cloud
ENV APP_ENVIRONMENT production