This commit is contained in:
2024-01-21 11:51:56 +08:00
parent c8b8113556
commit 204ad30c04

View File

@@ -26,8 +26,7 @@ RUN deno task fetch && deno task server-build && mkdir -p ./thumbnails && chmod
ENV DENO_DEPLOYMENT_ID=${DENO_DEPLOYMENT_ID}
EXPOSE 8000
ENTRYPOINT deno
CMD ["task", "server"]
ENTRYPOINT 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