firecrawl icon indicating copy to clipboard operation
firecrawl copied to clipboard

[BUG] Segmentation fault when running Docker

Open stevegardnersa opened this issue 9 months ago • 2 comments

When running docker compose up I get the following error. Seems to most likely be a dependency specific Issue in the pnpm-lock.yaml file. Does anyone have any input before I try and isolate the issue by installing packages one by one?

...
=> CACHED [api base 3/4] COPY . /app                                                                                                     0.0s
 => CACHED [api base 4/4] WORKDIR /app                                                                                                    0.0s
 => ERROR [api build 1/3] RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile                                0.5s
 => ERROR [api prod-deps 1/1] RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod --frozen-lockfile                     0.6s
 => CANCELED [api stage-3 1/3] RUN apt-get update -qq &&     apt-get install --no-install-recommends -y chromium chromium-sandbox &&      0.6s
------                                                                                                                                         
 > [api build 1/3] RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile:
0.499 Segmentation fault
------
------
 > [api prod-deps 1/1] RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod --frozen-lockfile:
0.522 Segmentation fault
------
failed to solve: process "/bin/sh -c pnpm install --frozen-lockfile" did not complete successfully: exit code: 139

stevegardnersa avatar May 25 '24 01:05 stevegardnersa