chore: add curl to appflowy cloud image to prepare for health check change
This commit is contained in:
parent
5501fe3a88
commit
65939ede77
12
Dockerfile
12
Dockerfile
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue