Modularize bridge and improve control GUI
This commit is contained in:
+2
-1
@@ -10,6 +10,7 @@ ENV HTTP_PORT=5011
|
||||
ENV UI_LANGUAGE=en
|
||||
|
||||
COPY frigate-camera-control-bridge.py /app/frigate-camera-control-bridge.py
|
||||
COPY frigate_camera_control_bridge /app/frigate_camera_control_bridge
|
||||
COPY locale /app/locale
|
||||
COPY tools/compile_gettext.py /app/tools/compile_gettext.py
|
||||
|
||||
@@ -19,4 +20,4 @@ EXPOSE 5011
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=15s --retries=3 CMD python3 -c "import os,urllib.request; urllib.request.urlopen('http://127.0.0.1:%s/readyz' % os.environ.get('HTTP_PORT', '5011'), timeout=3).read()"
|
||||
|
||||
ENTRYPOINT ["python3", "/app/frigate-camera-control-bridge.py"]
|
||||
ENTRYPOINT ["python3", "-m", "frigate_camera_control_bridge"]
|
||||
|
||||
Reference in New Issue
Block a user