From 6551a4e1d103b3abb2c2c7662a6422448dc93fa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jordi=20Guti=C3=A9rrez=20Hermoso?= Date: Fri, 7 Jun 2024 20:06:34 -0400 Subject: [PATCH] Dockerfile: use docker-runner.mjs as new entrypoint --- .dockerignore | 1 + Dockerfile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index f2e04e8d31..fe604161d2 100644 --- a/.dockerignore +++ b/.dockerignore @@ -13,4 +13,5 @@ !plugins !test !ext +!docker-runner.mjs **/_build diff --git a/Dockerfile b/Dockerfile index f6cafa437b..f000485ab2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -113,6 +113,7 @@ ADD bower_components /grist/bower_components ADD sandbox /grist/sandbox ADD plugins /grist/plugins ADD static /grist/static +ADD docker-runner.mjs /grist/docker-runner.mjs # Make optional pyodide sandbox available COPY --from=builder /grist/sandbox/pyodide /grist/sandbox/pyodide @@ -152,4 +153,4 @@ ENV \ EXPOSE 8484 ENTRYPOINT ["/usr/bin/tini", "-s", "--"] -CMD ["./sandbox/run.sh"] +CMD ["node", "./docker-runner.mjs"]