This commit is contained in:
2024-01-21 17:20:35 +08:00
parent 35fa39f2c9
commit 622c689619

View File

@@ -93,7 +93,7 @@ ENV DENO_DEPLOYMENT_ID=${DENO_DEPLOYMENT_ID}
ENV DOCKER=true
EXPOSE 8000
ENTRYPOINT [deno task server]
ENTRYPOINT ["/usr/bin/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