From 8e47a1e89623c2ec1fc45aee03f876e6d4496525 Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 2 Mar 2024 11:56:50 +0000 Subject: [PATCH] i hate coding --- Dockerfile | 2 +- docker/entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"