From 7ef697fcf343832639982b5e48a1c0ddf9937b88 Mon Sep 17 00:00:00 2001 From: Bola Malek Date: Thu, 31 Aug 2023 08:12:32 -0700 Subject: [PATCH 1/2] Fix create dir that already exists --- truss/templates/server.Dockerfile.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/truss/templates/server.Dockerfile.jinja b/truss/templates/server.Dockerfile.jinja index fa7052de7..136be9685 100644 --- a/truss/templates/server.Dockerfile.jinja +++ b/truss/templates/server.Dockerfile.jinja @@ -53,7 +53,7 @@ COPY ./{{config.data_dir}} /app/data {%- endif %} {%- if config.hf_cache != None %} -RUN mkdir /app +RUN mkdir -p /app RUN curl -s https://baseten-public.s3.us-west-2.amazonaws.com/bin/b10cp-5fe8dc7da-linux-amd64 -o /app/b10cp; chmod +x /app/b10cp ENV B10CP_PATH_TRUSS /app/b10cp COPY ./cache_requirements.txt /app/cache_requirements.txt From 23e9336a06738ebc9c03d486f163ea3f0a52f0c5 Mon Sep 17 00:00:00 2001 From: Bola Malek Date: Thu, 31 Aug 2023 08:15:17 -0700 Subject: [PATCH 2/2] bump version to test --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 07e61684b..a06a5a739 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "truss" -version = "0.6.5rc6" +version = "0.6.5rc7" description = "A seamless bridge from model development to model delivery" license = "MIT" readme = "README.md"