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.
Description:
This PR introduces Docker setup for the EduAid project, which includes Docker configurations for both the backend and frontend, along with necessary updates to the project structure and documentation.
Files Changed:
docker-compose.yml
:docker-compose.yml
file to simplify the process of building and running both frontend and backend containers simultaneously.Dockerfile.backend
:Dockerfile
for the backend service. This Dockerfile sets up a Flask environment for the backend, installs dependencies, and configures the server to run within a container.Dockerfile.webapp
:Dockerfile
for the frontend service. This Dockerfile builds the React application, installs dependencies, and serves the app within a container..dockerignore
:.dockerignore
file to ensure that unnecessary files (likenode_modules
,.git
, etc.) are not included in the Docker images, improving efficiency during the build process.Moved
requirements.txt
:requirements.txt
file from the root directory to thebackend/
directory to reflect a more organized structure, keeping dependencies specific to the backend service.Updated
README.md
:README.md
file to guide users through the process of building, running, and troubleshooting the Dockerized EduAid project.docker system prune -a
to resolve any potential issues.New Features/Enhancements:
docker-compose.yml
file enables both backend and frontend to run as Docker containers without manual setup for each service.Notes:
-The Docker setup provides a fully isolated environment for both backend and frontend, ensuring consistency across different environments.
-The README.md has been updated with a comprehensive guide for setting up and troubleshooting the Dockerized version of EduAid.