Simplify Makefile / Dockerfile interactions using docker-compose.yml #785
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR refactors our use of
makeanddockerto usedocker-compose, which simplifies the process for building and running container images. This will be useful as a foundation for future architectures where we need to spin up more containers for microservices, as we begin to address things like #655.CoPilot Summary
This pull request refactors the project's Docker setup to simplify workflows and improve maintainability. Key changes include replacing individual
MakefileDocker commands withdocker-composecommands, reorganizing Docker-related files into a dedicateddockerdirectory, and updating documentation to reflect these changes.Docker Setup Refactoring:
dockerbuild_test,dockerrun_test,dockerbuild_docs,dockerrun_docs) in favor of consolidateddocker-composecommands (docker_test,docs,up,down). Updated help text to reflect the new commands.Dockerfileto a dedicateddockerdirectory and updated paths for requirements and application files to reflect the new directory structure.docker-compose.ymlAddition: Added adocker-compose.ymlfile to define services (base,dependencies,test,docs) and streamline Docker workflows.Documentation Updates:
README.mddescribing thedockerdirectory and its purpose for managing Docker configurations.docker-composeequivalents in sections for running the documentation server (make docs) and tests (make docker_test). Adjusted port mapping details for the docs server. [1] [2]