Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.
This repository was archived by the owner on May 7, 2025. It is now read-only.

[Bug]: Failing to build docker file. #117

@mrmarcus007

Description

@mrmarcus007

What happened?

Failing to build docker file.

What browsers are you seeing the problem on?

No response

Steps to reproduce?

The docker-compose.yml

services:
  movieweb:
    build:
      context: https://github.com/sussy-code/smov.git#main
      args:
        TMDB_READ_API_KEY: "*keyhere*"
        #   CORS_PROXY_URL: ""
        # BACKEND_URL: "http://192.168.2.187:8080"
        PWA_ENABLED: "true"
        OPENSEARCH_ENABLED: "true"
    ports:
      - "80:80"
    restart: unless-stopped

and when I run docker compose up --detach or docker compose --build --detach

~/sudoflix# docker compose up --build --detach
[+] Building 1.9s (10/13)                                                                                                                               docker:default
 => CACHED [movieweb internal] load git source https://github.com/sussy-code/smov.git#main                                                                        0.5s
 => WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)                                                                                    0.0s
 => [movieweb internal] load metadata for docker.io/library/nginx:stable-alpine                                                                                   0.5s
 => [movieweb internal] load metadata for docker.io/library/node:20-alpine                                                                                        0.5s
 => CACHED [movieweb stage-1 1/2] FROM docker.io/library/nginx:stable-alpine@sha256:d05f6fee67a3521d2fe000d471ac9b5af1900847f25b837e167f2213e95ddf0f              0.0s
 => [movieweb build 1/8] FROM docker.io/library/node:20-alpine@sha256:957dbf2afb4f22d9e2b94b981e242cbb796965cd3d9cc02d436e2a05fa0ec300                            0.0s
 => CACHED [movieweb build 2/8] WORKDIR /app                                                                                                                      0.0s
 => CACHED [movieweb build 3/8] RUN corepack enable                                                                                                               0.0s
 => CACHED [movieweb build 4/8] COPY package.json ./                                                                                                              0.0s
 => CACHED [movieweb build 5/8] COPY pnpm-lock.yaml ./                                                                                                            0.0s
 => ERROR [movieweb build 6/8] RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile                                                   0.8s
------                                                                                                                                                                 
 > [movieweb build 6/8] RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile:                                                              
0.695 /usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:21535                                                                                                 
0.695   if (key == null || signature == null) throw new Error(`Cannot find matching keyid: ${JSON.stringify({ signatures, keys })}`);                                  
0.695                                               ^                                                                                                                  
0.695                                                                                                                                                                  
0.695 Error: Cannot find matching keyid: {"signatures":[{"sig":"MEYCIQDqo/55uI8Wf6M4RGn3wszRvnxozJXgQK3vMFN/1emK+AIhAOZdugJH0o6Gv0QdU3iAPB67UBlDtAp6EtXoMiVasB2t","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"keys":[{"expires":null,"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","keytype":"ecdsa-sha2-nistp256","scheme":"ecdsa-sha2-nistp256","key":"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE1Olb3zMAFFxXKHiIkQO5cJ3Yhl5i6UPp+IhuteBJbuHcA5UogKo0EWtlWwW6KSaKoTNEYL7JlCQiVnkhBktUgg=="}]}
0.695     at verifySignature (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:21535:47)
0.695     at fetchLatestStableVersion (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:21553:5)
0.695     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
0.695     at async fetchLatestStableVersion2 (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:21672:14)
0.695     at async Engine.getDefaultVersion (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:22298:23)
0.695     at async Engine.executePackageManagerRequest (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:22396:47)
0.695     at async Object.runMain (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:23102:5)
0.695 
0.695 Node.js v20.18.3
------
failed to solve: process "/bin/sh -c pnpm install --frozen-lockfile" did not complete successfully: exit code: 1
root@Sudo-flix:~/sudoflix# 

Other relevant information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions