mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-30 23:44:59 +00:00
fix: correctly handle errors from App constructor (#430)
Signed-off-by: mudler <mudler@mocaccino.org>
This commit is contained in:
parent
ca9115d6d0
commit
aacb96df7a
4 changed files with 13 additions and 8 deletions
|
@ -42,7 +42,7 @@ COPY . .
|
|||
RUN make build
|
||||
|
||||
# Define the health check command
|
||||
HEALTHCHECK --interval=30s --timeout=360s --retries=10 \
|
||||
HEALTHCHECK --interval=1m --timeout=10m --retries=10 \
|
||||
CMD curl -f $HEALTHCHECK_ENDPOINT || exit 1
|
||||
|
||||
EXPOSE 8080
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue