Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[SOLVED] Unable to build docker container#531

Answeredbyaaronnewsome
aaronnewsome asked this question inQ&A
Discussion options

First, what an amazing project. So impressed by what Dustin has built here.

I'm really anxious to get the docker container built, just not sure how to resolve the build issue. Any help would be appreciated:

=> [internal] load metadata for docker.io/library/node:22-alpine          0.6s => [1/6] FROM docker.io/library/node:22-alpine@sha256:e2b39f7b6428132492  0.0s => [internal] load build context                                          0.7s => => transferring context: 167.31kB                                      0.6s => CACHED [2/6] RUN apk add --no-cache git                                0.0s => CACHED [3/6] WORKDIR daedalOS                                          0.0s => CACHED [4/6] COPY . .                                                  0.0s => CACHED [5/6] RUN yarn                                                  0.0s => ERROR [6/6] RUN yarn build                                            71.3s------                                                                           > [6/6] RUN yarn build:                                                        0.888 yarn run v1.22.22                                                         0.943 $ yarn build:prebuild && next build                                       1.687 $ node scripts/robots.js && node scripts/rssBuilder.js && node scripts/searchIndex.js && node scripts/preloadIcons.js && node scripts/cacheShortcuts.js && yarn build:fs3.383 $ node scripts/fs2json.js --exclude .index --out public/.index/fs.9p.json ./public3.557 Creating file tree ...3.871 Creating json ...5.899 Attention: Next.js now collects completely anonymous telemetry regarding usage.5.899 This information is used to shape Next.js' roadmap and prioritize features.5.899 You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:5.899 https://nextjs.org/telemetry5.899 6.120    ▲ Next.js 15.1.66.120 6.254    Linting and checking validity of types ...70.88 Failed to compile.70.88 70.88 ./components/apps/VideoPlayer/useVideoPlayer.ts:224:2970.88 Type error: Type 'Buffer<ArrayBufferLike> | undefined' is not assignable to type 'BlobPart'.70.88   Type 'undefined' is not assignable to type 'BlobPart'.70.88 70.88   222 |           codecBox.current = window.initCodecBox?.({70.88   223 |             canvas: canvasElement as HTMLCanvasElement,70.88 > 224 |             file: new File([(await getSource()).buffer], basename(url)),70.88       |                             ^70.88   225 |             onDecoding: (currentTime) => {70.88   226 |               if (!Number.isNaN(currentTime)) {70.88   227 |                 target?.player?.tech_?.stopTrackingCurrentTime();71.04 Static worker exited with code: 1 and signal: null71.11 error Command failed with exit code 1.71.12 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.------Dockerfile:11--------------------   9 |       10 |     RUN yarn  11 | >>> RUN yarn build  12 |       13 |     CMD yarn serve--------------------ERROR: failed to solve: process "/bin/sh -c yarn build" did not complete successfully: exit code: 1
You must be logged in to vote

Nevermind, realizing the yarn commands need to be run before building the docker container

Replies: 1 comment

Comment options

Nevermind, realizing the yarn commands need to be run before building the docker container

You must be logged in to vote
0 replies
Answer selected byaaronnewsome
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
1 participant
@aaronnewsome
Converted from issue

This discussion was converted from issue #530 on February 11, 2025 15:21.


[8]ページ先頭

©2009-2025 Movatter.jp