maple-poetry icon indicating copy to clipboard operation
maple-poetry copied to clipboard

Build docker image failure, need update Dockerfile and web/package.jason

Open xinmans opened this issue 1 year ago • 0 comments

build error

Step 3/21 : COPY web/yarn.lock web/.json web/.js /src When using COPY with more than one source file, the destination must be a directory and end with a /

[1/5] Validating package.json... error [email protected]: The engine "node" is incompatible with this module. Expected version "^18 || ^16 || ^14.19". Got "20.11.0" error Found incompatible module.

Step 12/21 : COPY go.mod go.sum /src When using COPY with more than one source file, the destination must be a directory and end with a /

edit Dockerfile and web/package.jason

COPY web/yarn.lock web/.json web/.js /src/ COPY web/yarn.lock web/.json web/.js /src/

"engines": { "node": "^20 || ^18 || ^16 || ^14.19",

xinmans avatar Feb 06 '24 07:02 xinmans