Skip to content

Commit

Permalink
Merge pull request #32 from luigi311/tini
Browse files Browse the repository at this point in the history
Docker: Add tini
  • Loading branch information
luigi311 authored Oct 11, 2024
2 parents f1e2a56 + b1900d3 commit 4121837
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN cargo build -p tanoshi --release

FROM debian:bookworm-slim AS runtime

RUN apt update && apt upgrade -y && apt install --reinstall -y ca-certificates libssl3 libxml2
RUN apt update && apt upgrade -y && apt install --reinstall -y tini ca-certificates libssl3 libxml2

WORKDIR /app

Expand All @@ -26,4 +26,4 @@ ENV TANOSHI_HOME=/tanoshi

EXPOSE $PORT

ENTRYPOINT ["/app/tanoshi"]
ENTRYPOINT ["/bin/tini", "--", "/app/tanoshi"]

0 comments on commit 4121837

Please sign in to comment.