From 5309da40b7edcdc802187e83700f345445cbd632 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Tue, 9 Jan 2024 08:55:43 +0100 Subject: [PATCH] Update Dockerfile Signed-off-by: Ettore Di Giacinto --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4a980ef8..b5217da0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -193,6 +193,9 @@ RUN if [ "${IMAGE_TYPE}" = "extras" ]; then \ PATH=$PATH:/opt/conda/bin make -C backend/python/coqui \ ; fi +# Make sure the models directory exists +RUN mkdir -p /build/models + # Define the health check command HEALTHCHECK --interval=1m --timeout=10m --retries=10 \ CMD curl -f $HEALTHCHECK_ENDPOINT || exit 1