diff --git a/portainer_agent/Dockerfile b/portainer_agent/Dockerfile index a4dc8a829..4ce87a7c6 100644 --- a/portainer_agent/Dockerfile +++ b/portainer_agent/Dockerfile @@ -82,7 +82,9 @@ RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif. RUN chmod a+x /usr/sbin/healthcheck && \ chmod a+x /usr/sbin/wait-for-signal WORKDIR "/app" -ENTRYPOINT [ "/ha_entrypoint.sh" ] + +ENTRYPOINT [ "/usr/bin/env" ] +CMD [ "/ha_entrypoint.sh" ] ############ # 5 Labels #