refactor(docker): rename start.sh to run.sh
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 9 Sep 2024 18:06:15 +0000 (20:06 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 9 Sep 2024 18:06:15 +0000 (20:06 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
docker/Dockerfile
docker/run.sh [moved from docker/start.sh with 100% similarity]
ui/web/docker/Dockerfile
ui/web/docker/run.sh [moved from ui/web/docker/start.sh with 100% similarity]

index 9f24facc576ddceb2fee31b2c1f285b1a70e005c..7c06ecc6ce4dd5ad75be1c6c27e0ef17d625a8c0 100644 (file)
@@ -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"]
similarity index 100%
rename from docker/start.sh
rename to docker/run.sh
index f8e3389308f68c771058145985cf9fb369d291bd..c0168114aa4e346bf483b633ec6207250da29f0e 100644 (file)
@@ -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"]
similarity index 100%
rename from ui/web/docker/start.sh
rename to ui/web/docker/run.sh