Add curl to the container for healthcheck purposes (#89)

This commit is contained in:
Derek Vanderveer 2023-10-09 13:06:14 -04:00 committed by GitHub
parent 0f48251fc0
commit 4b5b4aa6e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ RUN go build -v -o mlmym
FROM debian:bullseye-slim FROM debian:bullseye-slim
WORKDIR /app WORKDIR /app
RUN set -x && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ RUN set -x && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
ca-certificates && \ ca-certificates curl && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
COPY --from=builder /app/mlmym /app/mlmym COPY --from=builder /app/mlmym /app/mlmym
COPY --from=builder /app/templates /app/templates COPY --from=builder /app/templates /app/templates