mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 13:40:55 +00:00
Merge pull request #3998 from ScribblerCoder/patch-1
fix: Dockerfile Healthcheck unexpected exit code
This commit is contained in:
commit
4c1a9380e6
@ -151,7 +151,7 @@ COPY --chown=$UID:$GID ./backend .
|
|||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
HEALTHCHECK CMD curl --silent --fail http://localhost:8080/health | jq -e '.status == true' || exit 1
|
HEALTHCHECK CMD curl --silent --fail http://localhost:${PORT:-8080}/health | jq -ne 'input.status == true' || exit 1
|
||||||
|
|
||||||
USER $UID:$GID
|
USER $UID:$GID
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user