feat(docker): test a container to check that it is still working (#346)

This commit is contained in:
Bo-Yi Wu
2018-03-17 23:07:38 +08:00
committed by GitHub
parent 86630e0fc7
commit b3bdd9b79e
7 changed files with 44 additions and 0 deletions

View File

@@ -6,4 +6,7 @@ LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
org.label-schema.schema-version="1.0"
ADD release/gorush.exe /gorush.exe
HEALTHCHECK --start-period=2s --interval=10s --timeout=5s \
CMD ["\\gorush.exe", "--ping"]
ENTRYPOINT [ "\\gorush.exe" ]