mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-18 20:27:57 +00:00
Update Dockerfile
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
This commit is contained in:
parent
08b90b4720
commit
5309da40b7
@ -193,6 +193,9 @@ RUN if [ "${IMAGE_TYPE}" = "extras" ]; then \
|
|||||||
PATH=$PATH:/opt/conda/bin make -C backend/python/coqui \
|
PATH=$PATH:/opt/conda/bin make -C backend/python/coqui \
|
||||||
; fi
|
; fi
|
||||||
|
|
||||||
|
# Make sure the models directory exists
|
||||||
|
RUN mkdir -p /build/models
|
||||||
|
|
||||||
# Define the health check command
|
# Define the health check command
|
||||||
HEALTHCHECK --interval=1m --timeout=10m --retries=10 \
|
HEALTHCHECK --interval=1m --timeout=10m --retries=10 \
|
||||||
CMD curl -f $HEALTHCHECK_ENDPOINT || exit 1
|
CMD curl -f $HEALTHCHECK_ENDPOINT || exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user