From: Jérôme Benoit Date: Mon, 9 Sep 2024 18:01:25 +0000 (+0200) Subject: refactor: use ENTRYPOINT syntax in docker files X-Git-Tag: ocpp-server@v1.5.2~64 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=989108f63bd531f04b28e65c8b499c9dbf5bbed0;p=e-mobility-charging-stations-simulator.git refactor: use ENTRYPOINT syntax in docker files Signed-off-by: Jérôme Benoit --- diff --git a/docker/Dockerfile b/docker/Dockerfile index b794b936..9f24facc 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -32,4 +32,4 @@ RUN set -ex \ && chmod +x /start.sh \ && chmod +x /autoconfig.sh -CMD /autoconfig.sh && /start.sh +ENTRYPOINT ["/bin/sh", "-c", "/autoconfig.sh && /start.sh"] diff --git a/ui/web/docker/Dockerfile b/ui/web/docker/Dockerfile index 5737d4b4..f8e33893 100644 --- a/ui/web/docker/Dockerfile +++ b/ui/web/docker/Dockerfile @@ -22,4 +22,4 @@ RUN set -ex \ && chmod +x /start.sh \ && chmod +x /autoconfig.sh -CMD /autoconfig.sh && /start.sh +ENTRYPOINT ["/bin/sh", "-c", "/autoconfig.sh && /start.sh"]