From: Jérôme Benoit Date: Mon, 9 Sep 2024 18:06:15 +0000 (+0200) Subject: refactor(docker): rename start.sh to run.sh X-Git-Tag: ocpp-server@v1.5.2~63 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=baf8b16408ca3209ec4b9b8b07e1a9b026761444;p=e-mobility-charging-stations-simulator.git refactor(docker): rename start.sh to run.sh Signed-off-by: Jérôme Benoit --- diff --git a/docker/Dockerfile b/docker/Dockerfile index 9f24facc..7c06ecc6 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -26,10 +26,10 @@ WORKDIR /usr/app COPY --from=builder /usr/builder/node_modules ./node_modules COPY --from=builder /usr/builder/dist ./dist COPY package.json README.md LICENSE ./ -COPY docker/start.sh /start.sh +COPY docker/run.sh /run.sh COPY docker/autoconfig.sh /autoconfig.sh RUN set -ex \ - && chmod +x /start.sh \ + && chmod +x /run.sh \ && chmod +x /autoconfig.sh -ENTRYPOINT ["/bin/sh", "-c", "/autoconfig.sh && /start.sh"] +ENTRYPOINT ["/bin/sh", "-c", "/autoconfig.sh && /run.sh"] diff --git a/docker/start.sh b/docker/run.sh similarity index 100% rename from docker/start.sh rename to docker/run.sh diff --git a/ui/web/docker/Dockerfile b/ui/web/docker/Dockerfile index f8e33893..c0168114 100644 --- a/ui/web/docker/Dockerfile +++ b/ui/web/docker/Dockerfile @@ -16,10 +16,10 @@ FROM node:lts-alpine WORKDIR /usr/app COPY --from=builder /usr/builder ./ -COPY docker/start.sh /start.sh +COPY docker/run.sh /run.sh COPY docker/autoconfig.sh /autoconfig.sh RUN set -ex \ - && chmod +x /start.sh \ + && chmod +x /run.sh \ && chmod +x /autoconfig.sh -ENTRYPOINT ["/bin/sh", "-c", "/autoconfig.sh && /start.sh"] +ENTRYPOINT ["/bin/sh", "-c", "/autoconfig.sh && /run.sh"] diff --git a/ui/web/docker/start.sh b/ui/web/docker/run.sh similarity index 100% rename from ui/web/docker/start.sh rename to ui/web/docker/run.sh