This commit is contained in:
parent
2d70012ece
commit
8e47a1e896
@ -39,5 +39,5 @@ RUN pip install . --no-cache-dir
|
|||||||
|
|
||||||
COPY ./docker/entrypoint.sh /entrypoint.sh
|
COPY ./docker/entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
ENTRYPOINT ["bash", "/entrypoint.sh"]
|
ENTRYPOINT ["sh", "/entrypoint.sh"]
|
||||||
CMD ["unifi-cam-proxy"]
|
CMD ["unifi-cam-proxy"]
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
if [ ! -z "${RTSP_URL:-}" ] && [ ! -z "${HOST}" ] && [ ! -z "${TOKEN}" ]; then
|
if [ ! -z "${RTSP_URL:-}" ] && [ ! -z "${HOST}" ] && [ ! -z "${TOKEN}" ]; then
|
||||||
echo "Using RTSP stream from $RTSP_URL"
|
echo "Using RTSP stream from $RTSP_URL"
|
||||||
|
Reference in New Issue
Block a user