glenn-jocher
commited on
Commit
•
ce8e5dc
1
Parent(s):
070af88
Update Dockerfile to `ADD` Arial.ttf (#5084)
Browse files* Update Dockerfile to `ADD` Arial.ttf
Fix for `Arial.ttf download in Docker` #5078
* Cleanup
* Cleanup2
- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -21,8 +21,11 @@ WORKDIR /usr/src/app
|
|
21 |
# Copy contents
|
22 |
COPY . /usr/src/app
|
23 |
|
|
|
|
|
|
|
24 |
# Set environment variables
|
25 |
-
ENV HOME=/usr/src/app
|
26 |
|
27 |
|
28 |
# Usage Examples -------------------------------------------------------------------------------------------------------
|
|
|
21 |
# Copy contents
|
22 |
COPY . /usr/src/app
|
23 |
|
24 |
+
# Downloads to user config dir
|
25 |
+
ADD https://ultralytics.com/assets/Arial.ttf /root/.config/Ultralytics/
|
26 |
+
|
27 |
# Set environment variables
|
28 |
+
# ENV HOME=/usr/src/app
|
29 |
|
30 |
|
31 |
# Usage Examples -------------------------------------------------------------------------------------------------------
|