From 7a91054b1b477038ecf0e620443062daf5188a16 Mon Sep 17 00:00:00 2001 From: lifegpc Date: Sun, 21 Jan 2024 17:31:50 +0800 Subject: [PATCH] Use tini --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 92c7418..2fea744 100644 --- a/Dockerfile +++ b/Dockerfile @@ -93,7 +93,7 @@ ENV DENO_DEPLOYMENT_ID=${DENO_DEPLOYMENT_ID} ENV DOCKER=true EXPOSE 8000 -ENTRYPOINT ["/usr/bin/deno", "task", "server"] +ENTRYPOINT ["/tini", "--", "deno", "task", "server"] HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=3 \ CMD curl -Lk -fsS http://localhost:8000/api/health_check || exit 1