From 826bfd9e140fe8bfb35829e57ec1673c64114cda Mon Sep 17 00:00:00 2001 From: David Lougheed Date: Wed, 9 Oct 2024 15:16:09 -0400 Subject: [PATCH] fix: use custom entrypoint again --- Dockerfile | 3 ++- dev.Dockerfile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2113b023..a9de9591 100755 --- a/Dockerfile +++ b/Dockerfile @@ -57,4 +57,5 @@ COPY package.json . # - this way we can cache layers COPY --from=build /bento-public/dist ./dist -CMD ["bash", "./run.bash"] +ENTRYPOINT [ "/bin/bash", "./entrypoint.bash" ] +CMD [ "/bin/bash", "./run.bash" ] diff --git a/dev.Dockerfile b/dev.Dockerfile index 7d44cba5..8725cd54 100644 --- a/dev.Dockerfile +++ b/dev.Dockerfile @@ -19,4 +19,5 @@ COPY package-lock.json . COPY --from=install /bento-public/node_modules ./node_modules -CMD [ "bash", "./run.dev.bash" ] +ENTRYPOINT [ "/bin/bash", "./entrypoint.bash" ] +CMD [ "/bin/bash", "./run.dev.bash" ]