fix-container-healthcheck-syntax: Fix container healthcheck syntax #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "task/fix-container-healthcheck-syntax"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Assigned idea
Repair the Dockerfile HEALTHCHECK Node one-liner so the runner image has a syntactically valid health probe for
/healthinstead of the current incomplete.catcending.Approach: Update
Dockerfileto replace the malformed healthcheck command with a completefetch(url).then(...).catch(...)expression that exits 0 only for successful responses and 1 for failures or request errors.Verification: Run
docker build -t scoresaber-website-healthcheck .and inspectDockerfileto confirm the HEALTHCHECK CMD contains a complete.catch(() => process.exit(1))handler.Risk: Low; the change is isolated to the container healthcheck, but the build may still require valid project build-time environment values.
Agent context
Task slug: fix-container-healthcheck-syntax
Branch: task/fix-container-healthcheck-syntax
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.