Update HEALTHCHECK command to use SB_PORT variable (#1806)

This commit is contained in:
Lajos Papp
2026-01-31 08:03:30 +01:00
committed by GitHub
parent 85ac15546f
commit 443c009e10
+1 -1
View File
@@ -32,7 +32,7 @@ VOLUME /space
RUN apk add --no-cache git curl bash tini
HEALTHCHECK CMD curl --fail http://localhost:3000$SB_URL_PREFIX/.ping || exit 1
HEALTHCHECK CMD curl --fail http://localhost:$SB_PORT$SB_URL_PREFIX/.ping || exit 1
# Expose port 3000
# Port map this when running, e.g. with -p 3002:3000 (where 3002 is the host port)