diff --git a/Containers/redis/Dockerfile b/Containers/redis/Dockerfile index 5bec5f8e..12c1c0d4 100644 --- a/Containers/redis/Dockerfile +++ b/Containers/redis/Dockerfile @@ -1,7 +1,7 @@ # From https://github.com/docker-library/redis/blob/master/7.0/alpine/Dockerfile FROM redis:7.0.11-alpine -COPY --chmod=775 start.sh /usr/bin/start.sh +COPY --chmod=775 start.sh /start.sh RUN set -ex; \ apk add --no-cache openssl bash; \ @@ -10,7 +10,7 @@ RUN set -ex; \ echo "root:$(openssl rand -base64 12)" | chpasswd USER redis -ENTRYPOINT ["start.sh"] +ENTRYPOINT ["/start.sh"] HEALTHCHECK CMD redis-cli -a $REDIS_HOST_PASSWORD PING || exit 1 LABEL com.centurylinklabs.watchtower.monitor-only="true" diff --git a/Containers/talk/Dockerfile b/Containers/talk/Dockerfile index 5e65af04..063eae50 100644 --- a/Containers/talk/Dockerfile +++ b/Containers/talk/Dockerfile @@ -6,7 +6,7 @@ USER root COPY --from=nats /nats-server /usr/local/bin/nats-server COPY --from=signaling /usr/bin/nextcloud-spreed-signaling /usr/local/bin/nextcloud-spreed-signaling -COPY --chmod=775 start.sh /usr/bin/start.sh +COPY --chmod=775 start.sh /start.sh COPY --chmod=664 supervisord.conf /supervisord.conf RUN set -ex; \ @@ -64,7 +64,7 @@ RUN set -ex; \ ENV TALK_PORT=3478 USER talk -ENTRYPOINT ["start.sh"] +ENTRYPOINT ["/start.sh"] CMD ["supervisord", "-c", "/supervisord.conf"] HEALTHCHECK CMD (nc -z localhost 8081 && nc -z localhost 8188 && nc -z localhost 4222 && nc -z localhost "$TALK_PORT" && nc -z "$NC_DOMAIN" "$TALK_PORT") || exit 1