gristlabs/grist-core

Docker image build fails

Closed this issue · 2 comments

Describe the current behavior

Line 120:
COPY from --builder /node_modules /node_modules

/node_modules does not exist. It is /grist/node_modules which is in line 121.

Steps to reproduce

  1. docker build .

Describe the expected behavior

No response

Where have you encountered this bug?

Instance information (when self-hosting only)

  • Grist instance:

    • Version: 1.4.2
    • URL (if it's OK for you to share it):
    • Installation mode: docker
    • Architecture: single-worker
  • Browser name, version and platforms on which you could reproduce the bug:

  • Link to browser console log if relevant:

  • Link to server log if relevant:

Surprising! In principle both /node_modules and /grist/node_modules should exist. docker build . working for me, with docker version 27.4.0. What version are you at? (but I don't know how it would make a difference in this case)

Is the line with mkdir /node_modules in it running ok?

Sorry it is because I remove scratch steps in custom build image. Because scratch fails with kaniko build and I don't have extra node dependencies.