mirror of
https://github.com/ultralytics/yolov5.git
synced 2025-06-03 14:49:29 +08:00
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:
parent
070af88108
commit
ce8e5dc8bb
@ -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 -------------------------------------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user