i hate coding
All checks were successful
Build Docker image / docker (push) Successful in 1m27s

This commit is contained in:
Lee 2024-03-02 11:56:50 +00:00
parent 2d70012ece
commit 8e47a1e896
2 changed files with 2 additions and 2 deletions

@ -39,5 +39,5 @@ RUN pip install . --no-cache-dir
COPY ./docker/entrypoint.sh /entrypoint.sh
ENTRYPOINT ["bash", "/entrypoint.sh"]
ENTRYPOINT ["sh", "/entrypoint.sh"]
CMD ["unifi-cam-proxy"]

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
if [ ! -z "${RTSP_URL:-}" ] && [ ! -z "${HOST}" ] && [ ! -z "${TOKEN}" ]; then
echo "Using RTSP stream from $RTSP_URL"