Skip to content

Commit 97cf03a

Browse files
authored
Merge pull request #628 from basetenlabs/bola/fix-mkdir
Fix create dir that already exists
2 parents ee3a2c0 + 23e9336 commit 97cf03a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "truss"
3-
version = "0.6.5rc6"
3+
version = "0.6.5rc7"
44
description = "A seamless bridge from model development to model delivery"
55
license = "MIT"
66
readme = "README.md"

truss/templates/server.Dockerfile.jinja

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ COPY ./{{config.data_dir}} /app/data
5353
{%- endif %}
5454

5555
{%- if config.hf_cache != None %}
56-
RUN mkdir /app
56+
RUN mkdir -p /app
5757
RUN curl -s https://baseten-public.s3.us-west-2.amazonaws.com/bin/b10cp-5fe8dc7da-linux-amd64 -o /app/b10cp; chmod +x /app/b10cp
5858
ENV B10CP_PATH_TRUSS /app/b10cp
5959
COPY ./cache_requirements.txt /app/cache_requirements.txt

0 commit comments

Comments
 (0)