diff --git a/builder/build.sh b/builder/build.sh index 48ce971..9755600 100755 --- a/builder/build.sh +++ b/builder/build.sh @@ -144,7 +144,11 @@ print(json.dumps(routes)) || log "WARNING: Caddy update failed (app is running; fix routing manually)." else log "Caddy admin API not reachable; skipping route update." - log "Container $CONTAINER_NAME is running. Expose manually if needed." + log "Container ${CONTAINER_NAME} is running on port ${PORT} but not publicly routed." + log "To reach it directly, re-run the container with a published port:" + log " docker rm -f ${CONTAINER_NAME}" + log " docker run -d --name ${CONTAINER_NAME} -p ${PORT}:${PORT} ${IMAGE_TAG}" + log "Or point any reverse proxy at: \$(docker inspect ${CONTAINER_NAME} --format '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}'):${PORT}" fi # ── 7. Prune old images ───────────────────────────────────────────────────────