We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6180976 + 62cdc69 commit 5d40e7dCopy full SHA for 5d40e7d
.nextcloudignore
@@ -44,4 +44,5 @@
44
/ex_app/src
45
/ex_app_scripts
46
/translationtool.phar
47
+/healthcheck.sh
48
tests
Dockerfile
@@ -11,5 +11,8 @@ ADD /ex_app/j[s] /ex_app/js
11
ADD /ex_app/l10[n] /ex_app/l10n
12
ADD /ex_app/li[b] /ex_app/lib
13
14
+COPY --chmod=775 healthcheck.sh /
15
+
16
WORKDIR /ex_app/lib
17
ENTRYPOINT ["python3", "main.py"]
18
+HEALTHCHECK --interval=2s --timeout=2s --retries=300 CMD /healthcheck.sh
healthcheck.sh
@@ -0,0 +1,3 @@
1
+#!/bin/bash
2
3
+exit 0
0 commit comments