This PR enhances the Docker Compose file and Dockerfile to improve build time and overall build efficiency in the Bayanat repository. The changes include optimizing dependencies, leveraging Docker layer caching, utilizing multi-stage builds, adding build arguments for customization, including health checks, and removing unused or unnecessary services.
Summary of Changes
Updated the base image in the Dockerfile to a more lightweight and optimized version.
Removed unnecessary dependencies in the Dockerfile.
Optimized the installation of requirements in the Dockerfile by leveraging Docker layer caching.
Utilized multi-stage builds in the Docker Compose file for faster and more efficient builds.
Added build arguments to the Docker Compose file for customizable build configurations.
Included health checks for the services in the Docker Compose file to ensure their availability.
Removed unused or unnecessary services or configurations from the Docker Compose file.
Please review and merge this PR to enhance the build process in the Bayanat repository.
Fixes #2.
To checkout this PR branch, run the following command in your terminal:
git checkout sweep/enhance-docker-compose
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.
Description
This PR enhances the Docker Compose file and Dockerfile to improve build time and overall build efficiency in the Bayanat repository. The changes include optimizing dependencies, leveraging Docker layer caching, utilizing multi-stage builds, adding build arguments for customization, including health checks, and removing unused or unnecessary services.
Summary of Changes
Please review and merge this PR to enhance the build process in the Bayanat repository.
Fixes #2.
To checkout this PR branch, run the following command in your terminal:
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.