Update Dockerfile to ADD Arial.ttf (#5084)

* Update Dockerfile to `ADD` Arial.ttf

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

* Cleanup

* Cleanup2
This commit is contained in:
Glenn Jocher 2021-10-07 14:16:33 -07:00 committed by GitHub
parent 070af88108
commit ce8e5dc8bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,8 +21,11 @@ WORKDIR /usr/src/app
# Copy contents # Copy contents
COPY . /usr/src/app COPY . /usr/src/app
# Downloads to user config dir
ADD https://ultralytics.com/assets/Arial.ttf /root/.config/Ultralytics/
# Set environment variables # Set environment variables
ENV HOME=/usr/src/app # ENV HOME=/usr/src/app
# Usage Examples ------------------------------------------------------------------------------------------------------- # Usage Examples -------------------------------------------------------------------------------------------------------