diff --git a/.dockerignore b/.dockerignore index f2e04e8d31f..fe604161d2b 100644 --- a/.dockerignore +++ b/.dockerignore @@ -13,4 +13,5 @@ !plugins !test !ext +!docker-runner.mjs **/_build diff --git a/Dockerfile b/Dockerfile index f6cafa437be..f000485ab21 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"]