move primary script into the module

This commit is contained in:
Blake Blackshear
2020-10-31 07:04:32 -05:00
parent 27da080ce6
commit 732e91ee42
3 changed files with 11 additions and 4 deletions

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