From baf8b16408ca3209ec4b9b8b07e1a9b026761444 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 9 Sep 2024 20:06:15 +0200 Subject: [PATCH] refactor(docker): rename start.sh to run.sh MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- docker/Dockerfile | 6 +++--- docker/{start.sh => run.sh} | 0 ui/web/docker/Dockerfile | 6 +++--- ui/web/docker/{start.sh => run.sh} | 0 4 files changed, 6 insertions(+), 6 deletions(-) rename docker/{start.sh => run.sh} (100%) rename ui/web/docker/{start.sh => run.sh} (100%) 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 -- 2.34.1