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" ]