Use requirement file for pip installs (#3090)

Co-authored-by: Sebastian Englbrecht <sebastian.englbrecht@kabelmail.de>
This commit is contained in:
herostrat
2022-04-12 14:21:21 +02:00
committed by GitHub
parent d43f9189a6
commit 164e9b7eb8
5 changed files with 26 additions and 21 deletions

View File

@@ -17,7 +17,8 @@ RUN groupadd --gid $USER_GID $USERNAME \
RUN apt-get update \
&& 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
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - \