Skip to content

Commit 7ef697f

Browse files
committedAug 31, 2023
Fix create dir that already exists
1 parent ee3a2c0 commit 7ef697f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎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)
Please sign in to comment.