fix: change back interval of health check

This commit is contained in:
Mikucat 2024-01-31 18:23:40 +08:00
parent e4b839048f
commit 41c21f6385
No known key found for this signature in database
GPG Key ID: CE6B09A6F462E04D

View File

@ -31,6 +31,6 @@ COPY ./ /app/
COPY --from=downloader --link /app/dist/ /app/dist/ COPY --from=downloader --link /app/dist/ /app/dist/
RUN chmod -R u=rwX,go=rX ./ && chmod +x ./deploy/entrypoint.sh RUN chmod -R u=rwX,go=rX ./ && chmod +x ./deploy/entrypoint.sh
HEALTHCHECK CMD python3 /app/deploy/health_check.py HEALTHCHECK --interval=5s CMD [ "/usr/local/bin/python3", "/app/deploy/health_check.py" ]
EXPOSE 8000 EXPOSE 8000
ENTRYPOINT [ "/app/deploy/entrypoint.sh" ] ENTRYPOINT [ "/app/deploy/entrypoint.sh" ]