Skip to content

Commit 05c06cb

Browse files
committed
add HEALTHCHECK command
1 parent 6bd4d22 commit 05c06cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,3 +232,5 @@ RUN cat ./deployment/octane/utilities.sh >> ~/.bashrc
232232
EXPOSE 9000
233233

234234
ENTRYPOINT ["./deployment/octane/entrypoint.sh"]
235+
236+
HEALTHCHECK --interval=20s --timeout=5s CMD php artisan octane:status || exit 1

0 commit comments

Comments
 (0)