Browse Source

Added tini process manager and entrypoint decl.

pull/699/head
Matt Todd 1 year ago
parent
commit
1ce7e09a44
  1. 5
      Dockerfile

5
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
Loading…
Cancel
Save