diff --git a/Dockerfile b/Dockerfile index ee00d74..8246f13 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index ee2543e..5d2a1e1 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh if [ ! -z "${RTSP_URL:-}" ] && [ ! -z "${HOST}" ] && [ ! -z "${TOKEN}" ]; then echo "Using RTSP stream from $RTSP_URL"