From 1ce7e09a44126fdf611cd699f858d506e2ec7ddf Mon Sep 17 00:00:00 2001 From: Matt Todd Date: Wed, 20 May 2020 19:26:42 +0100 Subject: [PATCH] Added tini process manager and entrypoint decl. --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 08011808b..9898d02db 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,11 +18,12 @@ RUN $HOME/.cargo/bin/cargo build --release # Run FROM alpine:3.10 -RUN apk update --quiet -RUN apk add libgcc +RUN apk add -q --no-cache libgcc tini COPY --from=compiler /meilisearch/target/release/meilisearch . ENV MEILI_HTTP_ADDR 0.0.0.0:7700 EXPOSE 7700/tcp + +ENTRYPOINT ["tini", "--"] CMD ./meilisearch