Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,11 @@
# CMD (not ENTRYPOINT) preserves the override semantics the previous
# Dockerfile shipped with — `docker run <image> sh` runs a shell, not
# `raybeam sh`. Users relying on CMD-override behavior keep working.
# The serve port is not EXPOSEd/configured here; deployments pass it via the
# serve flags. 8080 is the documented default and what every known deployment
# uses (traefik server.port label). Probe /info: cheap, unauthenticated, and
# proves the HTTP stack + config load, not just the process.
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD wget -q -O /dev/null http://127.0.0.1:8080/info || exit 1

Check warning on line 46 in Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Replace this invocation of "wget" with the ADD instruction.

See more on https://sonarcloud.io/project/issues?id=netresearch_raybeam&issues=AZ_6O1uDfOdhf-t9MXXX&open=AZ_6O1uDfOdhf-t9MXXX&pullRequest=263

CMD ["/bin/raybeam"]
Loading