Skip to content

Commit 2ea7fcc

Browse files
committed
chore: update dockerfile
1 parent 50009c1 commit 2ea7fcc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ USER appuser
3636
# Expose the WebSocket port
3737
EXPOSE 8080
3838

39+
# Add a simple healthcheck
40+
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
41+
CMD exit 0
42+
3943
# Run in headless mode with server optimizations
4044
CMD ["java", \
4145
"-Djava.awt.headless=true", \

0 commit comments

Comments
 (0)