From afbea2ecea3550140c9ffdfc4ad2d093a698e6af Mon Sep 17 00:00:00 2001 From: Jun Siang Cheah Date: Sat, 1 Jun 2024 14:16:39 +0100 Subject: [PATCH] fix: don't use BUILD_HASH build arg until needed, busts cache otherwise --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index be5c1da41..2bd05e6ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,7 +38,6 @@ ARG USE_OLLAMA ARG USE_CUDA_VER ARG USE_EMBEDDING_MODEL ARG USE_RERANKING_MODEL -ARG BUILD_HASH ARG UID ARG GID @@ -154,6 +153,7 @@ HEALTHCHECK CMD curl --silent --fail http://localhost:8080/health | jq -e '.stat USER $UID:$GID +ARG BUILD_HASH ENV WEBUI_BUILD_VERSION=${BUILD_HASH} CMD [ "bash", "start.sh"]