From a0b14461b3a549257d137232b7092adeec8c2b68 Mon Sep 17 00:00:00 2001 From: pedro Date: Wed, 3 Apr 2024 13:09:32 +0200 Subject: [PATCH] docker: bugfix devicehub entrypoint entrypoint was being put inside the working directory, which is preserved that made entrypoint "persistent", avoiding future updates solution is to put it in the root (/), which is not preserved --- docker/devicehub.Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/devicehub.Dockerfile b/docker/devicehub.Dockerfile index ae303f0e..72d2ee02 100644 --- a/docker/devicehub.Dockerfile +++ b/docker/devicehub.Dockerfile @@ -28,5 +28,5 @@ COPY . . COPY examples/app.py . RUN pip install -e . -COPY docker/devicehub.entrypoint.sh . -ENTRYPOINT sh ./devicehub.entrypoint.sh +COPY docker/devicehub.entrypoint.sh / +ENTRYPOINT sh /devicehub.entrypoint.sh