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
This commit is contained in:
pedro 2024-04-03 13:09:32 +02:00
parent b607eedf5f
commit a0b14461b3
1 changed files with 2 additions and 2 deletions

View File

@ -28,5 +28,5 @@ COPY . .
COPY examples/app.py . COPY examples/app.py .
RUN pip install -e . RUN pip install -e .
COPY docker/devicehub.entrypoint.sh . COPY docker/devicehub.entrypoint.sh /
ENTRYPOINT sh ./devicehub.entrypoint.sh ENTRYPOINT sh /devicehub.entrypoint.sh