mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-01-16 01:13:47 +00:00
fix: change back interval of health check
This commit is contained in:
parent
e4b839048f
commit
41c21f6385
@ -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" ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user