Documentation

Build and Run the Docker Image

Use Docker or Docker Compose to build the standalone image, launch the portal locally, and verify that the service is healthy before testing scans.

Section 02

Build and launch the local container

  1. Open a terminal in local/docker-image.
  2. Build the image with docker build -t cloudsure-compliance-portal:latest ..
  3. Or use Compose v2 with docker compose up --build.
  4. After startup, verify http://localhost:8080/healthz before opening the portal homepage.
Example View
Example Docker build and runtime workflow
1

Published port

The standalone package maps port 8080 so the browser can reach the Flask service from the host machine.

2

Health validation

Use the built-in /healthz endpoint and container port inspection to confirm the app is reachable before deeper testing.

3

Compose v2 preferred

Use docker compose instead of legacy docker-compose, especially on Windows + WSL environments.

Operational Tip

If Windows or WSL already uses port 8080, switch the host side of the mapping to another port such as 8081 and then open the matching browser URL.