mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 20:15:07 +08:00
Merge pull request #699 from mattjtodd/add-tini-process-manager
Added tini process manager and entrypoint decl.
This commit is contained in:
commit
dc246b97e6
@ -18,11 +18,12 @@ RUN $HOME/.cargo/bin/cargo build --release
|
|||||||
# Run
|
# Run
|
||||||
FROM alpine:3.10
|
FROM alpine:3.10
|
||||||
|
|
||||||
RUN apk update --quiet
|
RUN apk add -q --no-cache libgcc tini
|
||||||
RUN apk add libgcc
|
|
||||||
|
|
||||||
COPY --from=compiler /meilisearch/target/release/meilisearch .
|
COPY --from=compiler /meilisearch/target/release/meilisearch .
|
||||||
|
|
||||||
ENV MEILI_HTTP_ADDR 0.0.0.0:7700
|
ENV MEILI_HTTP_ADDR 0.0.0.0:7700
|
||||||
EXPOSE 7700/tcp
|
EXPOSE 7700/tcp
|
||||||
|
|
||||||
|
ENTRYPOINT ["tini", "--"]
|
||||||
CMD ./meilisearch
|
CMD ./meilisearch
|
||||||
|
Loading…
Reference in New Issue
Block a user