-
-
Notifications
You must be signed in to change notification settings - Fork 198
Labels
π bugSomething isn't workingSomething isn't working
Description
Version
System:
OS: macOS 15.0
CPU: (10) arm64 Apple M1 Pro
Memory: 56.58 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Browsers:
Brave Browser: 121.1.62.153
Safari: 18.0Details
I have an issue during the build of my project on docker. Seems the bug is fixed on last version of rsbuild, but maybe rspress need to update rsbuild version.
PR that seems to fix this : web-infra-dev/rsbuild#4220
[app-landing-builder 5/5] RUN bun run build:
0.242 $ rspress build
0.686 π₯ Rspress v1.38.0
0.686
1.206 EEXIST: Copy public dir (/app/docs/public) to dist failed:
1.206 File or folder exists
1.206 errno: -17
1.206 syscall: "mkdir"
1.206 path: "/app/doc_build"
1.206
1.208
Reproduce Steps
Here is my dockerfile:
FROM oven/bun:latest AS app-landing-builder
WORKDIR /app
COPY ./packages/app-landing .
RUN bun install --frozen-lockfile
RUN bun run build
FROM oven/bun:latest AS app-landing-runner
WORKDIR /app
# Copy built files from builder stage
COPY --from=app-landing-builder /app/node_modules ./node_modules
COPY --from=app-landing-builder /app/doc_build ./doc_build
COPY --from=app-landing-builder /app/package.json ./package.json
COPY --from=app-landing-builder /app/rspress.config.ts ./rspress.config.ts
CMD ["bun", "preview", "--port", "3001", "--host", "0.0.0.0"]ViktorZhurbin
Metadata
Metadata
Assignees
Labels
π bugSomething isn't workingSomething isn't working