Skip to content

Commit 5d40e7d

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 6180976 + 62cdc69 commit 5d40e7d

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.nextcloudignore

+1
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,5 @@
4444
/ex_app/src
4545
/ex_app_scripts
4646
/translationtool.phar
47+
/healthcheck.sh
4748
tests

Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,8 @@ ADD /ex_app/j[s] /ex_app/js
1111
ADD /ex_app/l10[n] /ex_app/l10n
1212
ADD /ex_app/li[b] /ex_app/lib
1313

14+
COPY --chmod=775 healthcheck.sh /
15+
1416
WORKDIR /ex_app/lib
1517
ENTRYPOINT ["python3", "main.py"]
18+
HEALTHCHECK --interval=2s --timeout=2s --retries=300 CMD /healthcheck.sh

healthcheck.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
exit 0

0 commit comments

Comments
 (0)