Section 02
Build and launch the local container
- Open a terminal in
local/docker-image.
- Build the image with
docker build -t cloudsure-compliance-portal:latest ..
- Or use Compose v2 with
docker compose up --build.
- After startup, verify
http://localhost:8080/healthz before opening the portal homepage.
Example View
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.