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 authored and GitHub committed 2021-10-07 14:16:33 -07:00
1 parent 070af88108
commit ce8e5dc8bb
1 file changed
+4 -1
+4 -1
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 -------------------------------------------------------------------------------------------------------