mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 17:25:22 +03:00
Merge branch 'release-0.11.0' of https://github.com/blakeblackshear/frigate into camera-level-birdseye
This commit is contained in:
commit
ba4fc92ad9
@ -5,9 +5,9 @@ services:
|
|||||||
user: vscode
|
user: vscode
|
||||||
# add groups from host for render, plugdev, video
|
# add groups from host for render, plugdev, video
|
||||||
group_add:
|
group_add:
|
||||||
- 109 # render
|
- "109" # render
|
||||||
- 44 # video
|
- "44" # video
|
||||||
- 46 # plugdev
|
- "46" # plugdev
|
||||||
shm_size: "256mb"
|
shm_size: "256mb"
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
|
|||||||
@ -38,27 +38,11 @@ RUN apt-get -qq update \
|
|||||||
RUN wget -q https://bootstrap.pypa.io/get-pip.py -O get-pip.py \
|
RUN wget -q https://bootstrap.pypa.io/get-pip.py -O get-pip.py \
|
||||||
&& python3 get-pip.py "pip"
|
&& python3 get-pip.py "pip"
|
||||||
|
|
||||||
RUN pip3 install scikit-build
|
COPY requirements.txt /requirements.txt
|
||||||
|
RUN pip3 install -r requirements.txt
|
||||||
|
|
||||||
# TODO: lock with requirements.txt
|
COPY requirements-wheels.txt /requirements-wheels.txt
|
||||||
RUN pip3 wheel --wheel-dir=/wheels \
|
RUN pip3 wheel --wheel-dir=/wheels -r requirements-wheels.txt
|
||||||
opencv-python-headless \
|
|
||||||
numpy \
|
|
||||||
imutils \
|
|
||||||
scipy \
|
|
||||||
psutil \
|
|
||||||
Flask \
|
|
||||||
paho-mqtt \
|
|
||||||
PyYAML \
|
|
||||||
matplotlib \
|
|
||||||
click \
|
|
||||||
setproctitle \
|
|
||||||
peewee \
|
|
||||||
peewee_migrate \
|
|
||||||
pydantic \
|
|
||||||
zeroconf \
|
|
||||||
ws4py \
|
|
||||||
requests
|
|
||||||
|
|
||||||
# Frigate Container
|
# Frigate Container
|
||||||
FROM debian:11-slim
|
FROM debian:11-slim
|
||||||
|
|||||||
@ -17,7 +17,8 @@ RUN groupadd --gid $USER_GID $USERNAME \
|
|||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y git curl vim htop
|
&& apt-get install -y git curl vim htop
|
||||||
|
|
||||||
RUN pip3 install pylint black
|
COPY requirements-dev.txt /opt/frigate/requirements-dev.txt
|
||||||
|
RUN pip3 install -r requirements-dev.txt
|
||||||
|
|
||||||
# Install Node 16
|
# Install Node 16
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - \
|
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - \
|
||||||
|
|||||||
2
requirements-dev.txt
Normal file
2
requirements-dev.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
pylint == 2.13.*
|
||||||
|
black == 22.3.*
|
||||||
17
requirements-wheels.txt
Normal file
17
requirements-wheels.txt
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
click == 8.1.*
|
||||||
|
Flask == 2.1.*
|
||||||
|
imutils == 0.5.*
|
||||||
|
matplotlib == 3.5.*
|
||||||
|
numpy == 1.22.*
|
||||||
|
opencv-python-headless == 4.5.5.*
|
||||||
|
paho-mqtt == 1.6.*
|
||||||
|
peewee == 3.14.*
|
||||||
|
peewee_migrate == 1.4.*
|
||||||
|
psutil == 5.9.*
|
||||||
|
pydantic == 1.9.*
|
||||||
|
PyYAML == 6.0.*
|
||||||
|
requests == 2.27.*
|
||||||
|
scipy == 1.8.*
|
||||||
|
setproctitle == 1.2.*
|
||||||
|
ws4py == 0.5.*
|
||||||
|
zeroconf == 0.38.4
|
||||||
1
requirements.txt
Normal file
1
requirements.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
scikit-build == 0.14.1
|
||||||
Loading…
Reference in New Issue
Block a user