From ce8e5dc8bb2f847652a60a6340b4976d98196bb7 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Thu, 7 Oct 2021 14:16:33 -0700 Subject: [PATCH] Update Dockerfile to `ADD` Arial.ttf (#5084) * Update Dockerfile to `ADD` Arial.ttf Fix for `Arial.ttf download in Docker` #5078 * Cleanup * Cleanup2 --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e0653e0f9..0ee89b432 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,8 +21,11 @@ WORKDIR /usr/src/app # Copy contents COPY . /usr/src/app +# Downloads to user config dir +ADD https://ultralytics.com/assets/Arial.ttf /root/.config/Ultralytics/ + # Set environment variables -ENV HOME=/usr/src/app +# ENV HOME=/usr/src/app # Usage Examples -------------------------------------------------------------------------------------------------------