move primary script into the module

This commit is contained in:
Blake Blackshear committed 2020-12-05 08:48:46 -06:00
1 parent 27da080ce6
commit 732e91ee42
3 files changed
+11 -4

No files matched your search

+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"]