-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
fix: a fatal error with docker: EBUSY: resource busy or locked, rmdir 'public' #2139
New issue
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
base: v4
Are you sure you want to change the base?
Conversation
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
|
@jackyzha0 Please review this PR. THX. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes a Docker-related EBUSY error that occurs when trying to remove the 'public' directory during the build process. The error happens because Docker has the directory locked or busy.
- Changes the directory removal approach to remove contents instead of the directory itself
- Modifies the
rmcall to use a glob pattern targeting directory contents rather than the directory root
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
04affc4 to
ebe0760
Compare
…ked, rmdir 'public Fixes jackyzha0#2138
ebe0760 to
7356245
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Fixes #2138