mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-03 01:22:17 +03:00
docker/main: add download-models overlay into s6 startup
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#!/command/with-contenv bash
|
||||
# shellcheck shell=bash
|
||||
# Download yolov8 models when DOWNLOAD_YOLOV8=1 environment variable is set
|
||||
|
||||
set -o errexit -o nounset -o pipefail
|
||||
|
||||
python3 /opt/frigate/frigate/util/download_models.py
|
||||
|
||||
Reference in New Issue
Block a user