We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/yassine-zhang/short-video-extractor-website
bunx create-next-app@latest xxx
bun install
FROM oven/bun:alpine as builder WORKDIR /app # 复制 package.json 和 bun.lockb 文件,安装依赖 COPY package.json bun.lockb ./ RUN bun install # # 复制所有文件并构建项目 COPY . . RUN bun run build # 生产环境镜像 FROM oven/bun:latest as runner WORKDIR /app # 复制构建产物和依赖 COPY --from=builder /app/package.json /app/bun.lockb ./ COPY --from=builder /app/.next ./.next COPY --from=builder /app/node_modules ./node_modules EXPOSE 3000 CMD ["bun", "run", "start"]
docker build --no-cache --platform linux/amd64 -t xxx.com/test:latest .
As you can see below, it stays at the build stage, but I have no problem building locally
I can't build the Docker image successfully now, I don't know how to fix it, tried other package managers, used NextJS versions: 14.2.16, 15.1.7
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:16 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6000 Available memory (MB): 16384 Available CPU cores: 8 Binaries: Node: 22.12.0 npm: 10.9.0 Yarn: 4.0.2 pnpm: 8.15.3 Relevant Packages: next: 15.1.7 eslint-config-next: 15.1.7 react: 19.0.0 react-dom: 19.0.0 typescript: 5.8.2 Next.js Config: output: N/A
create-next-app
Other (Deployed)
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Link to the code that reproduces this issue
https://github.com/yassine-zhang/short-video-extractor-website
To Reproduce
bunx create-next-app@latest xxx
.bun install
to install the dependencies.docker build --no-cache --platform linux/amd64 -t xxx.com/test:latest .
Build the imageAs you can see below, it stays at the build stage, but I have no problem building locally
Current vs. Expected behavior
I can't build the Docker image successfully now, I don't know how to fix it, tried other package managers, used NextJS versions: 14.2.16, 15.1.7
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:16 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6000 Available memory (MB): 16384 Available CPU cores: 8 Binaries: Node: 22.12.0 npm: 10.9.0 Yarn: 4.0.2 pnpm: 8.15.3 Relevant Packages: next: 15.1.7 eslint-config-next: 15.1.7 react: 19.0.0 react-dom: 19.0.0 typescript: 5.8.2 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
create-next-app
Which stage(s) are affected? (Select all that apply)
Other (Deployed)
Additional context
No response
The text was updated successfully, but these errors were encountered: