@@ -102,7 +102,6 @@ This surveillance system is designed to process video feeds using a distributed
### Step 1: Build Docker Images for Services
1.**Clone the repository**:
First, clone the repository to your local machine:
```bash
...
...
@@ -119,6 +118,37 @@ This surveillance system is designed to process video feeds using a distributed
```
These commands will automatically find the `Dockerfile` in each service's directory (`./services/camera`, `./services/motion_detector`, and `./services/object_recognizer`). The `latest` tag is used to mark the most recent image.
3.**(Optional) Push the images to your Docker repository**:
If you want to make the images available remotely, you can push them to your Docker Hub or GitHub Container Registry. Follow these steps:
-**Tag the images for your repository**:
Replace `<your-username>` with your Docker Hub or GitHub username, and `<repository>` with the desired image repository name.
```bash
docker tag camera:latest <your-username>/camera:latest
docker tag motion_detector:latest <your-username>/motion_detector:latest
docker tag object_recognizer:latest <your-username>/object_recognizer:latest