move primary script into the module

This commit is contained in:
Blake Blackshear
2021-01-26 21:40:33 -06:00
parent 5512bb2e06
commit cce82fe2a5
3 changed files with 11 additions and 4 deletions
+1 -4
View File
@@ -37,8 +37,5 @@ RUN mkdir /cache /clips
WORKDIR /opt/frigate/
ADD frigate frigate/
COPY detect_objects.py .
COPY benchmark.py .
COPY process_clip.py .
CMD ["python3", "-u", "detect_objects.py"]
CMD ["python3", "-u", "-m", "frigate"]