Skip to content

Commit

Permalink
Dockerfile: use docker-runner.mjs as new entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jordigh committed Jun 8, 2024
1 parent b5ee71b commit 6551a4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
!plugins
!test
!ext
!docker-runner.mjs
**/_build
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -152,4 +153,4 @@ ENV \
EXPOSE 8484

ENTRYPOINT ["/usr/bin/tini", "-s", "--"]
CMD ["./sandbox/run.sh"]
CMD ["node", "./docker-runner.mjs"]

0 comments on commit 6551a4e

Please sign in to comment.