From 6135078dbfe2f3b4dbd488b2945d22440f33d369 Mon Sep 17 00:00:00 2001 From: Matthew Kobayashi Date: Wed, 25 Sep 2024 22:18:13 +1000 Subject: [PATCH] fix: Ensure `entrypoint.sh` is copied into correct dir --- telegraf/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/telegraf/Dockerfile b/telegraf/Dockerfile index ffb968e4..ad3fc93c 100644 --- a/telegraf/Dockerfile +++ b/telegraf/Dockerfile @@ -17,6 +17,7 @@ WORKDIR /opt/ookla RUN wget -O - https://install.speedtest.net/app/cli/ookla-speedtest-1.2.0-linux-x86_64.tgz | tar xz # Set entrypoint +WORKDIR /opt/docker-telegraf COPY entrypoint.sh . RUN chmod +x entrypoint.sh ENTRYPOINT ["/opt/docker-telegraf/entrypoint.sh"]