Skip to content
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

Update Dockerfile #7282

Merged
merged 1 commit into from
Apr 4, 2022
Merged

Update Dockerfile #7282

merged 1 commit into from
Apr 4, 2022

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Apr 4, 2022

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Enhanced Docker build process for better flexibility and dependency management.

πŸ“Š Key Changes

  • Changed the order of operations: now copies the repository contents into the Docker image before cloning the repo.
  • The repository is now cloned into a new directory /usr/src/yolov5 instead of /usr/src/app as previously.

🎯 Purpose & Impact

  • 🧩 The adjustment in file copying and cloning order allows for a more robust build process, potentially accommodating scenarios where local edits need to be included in the Docker image.
  • πŸ”„ The separate cloning destination /usr/src/yolov5 could help in differentiating between the base repo and any additional local content provided, simplifying development and debugging processes.
  • πŸš€ These changes might offer developers an improved and more straightforward experience when testing and deploying their applications using the Ultralytics Docker image.

@glenn-jocher glenn-jocher self-assigned this Apr 4, 2022
@glenn-jocher glenn-jocher merged commit 2da6866 into master Apr 4, 2022
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch April 4, 2022 22:52
@glenn-jocher glenn-jocher linked an issue Apr 5, 2022 that may be closed by this pull request
1 task
BjarneKuehl pushed a commit to fhkiel-mlaip/yolov5 that referenced this pull request Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant