Browse Source

Update Dockerfile to `ADD` Arial.ttf (#5084)

* Update Dockerfile to `ADD` Arial.ttf

Fix for `Arial.ttf download in Docker` #5078

* Cleanup

* Cleanup2
modifyDataloader
Glenn Jocher GitHub 3 years ago
parent
commit
ce8e5dc8bb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      Dockerfile

+ 4
- 1
Dockerfile View File

@@ -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 -------------------------------------------------------------------------------------------------------

Loading…
Cancel
Save