docs: add --build flag to all docker compose up commands

Without --build, Docker reuses cached images that don't include the
built frontend, resulting in a blank page. Every doc that tells users
to run docker compose up now includes --build.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
shankar0123
2026-03-16 14:23:37 -04:00
parent 169516f0fb
commit b0280baddc
4 changed files with 7 additions and 5 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ This demo goes beyond browsing pre-loaded data. You'll create a team, register a
Make sure certctl is running:
```bash
docker compose -f deploy/docker-compose.yml up -d
docker compose -f deploy/docker-compose.yml up -d --build
# Wait for healthy status
docker compose -f deploy/docker-compose.yml ps
```
@@ -541,7 +541,7 @@ echo ""
echo -e "${YELLOW}Step 1: Checking server health...${NC}"
HEALTH=$(curl -s $API/health | jq -r '.status')
if [ "$HEALTH" != "healthy" ]; then
echo "Server is not healthy. Run: docker compose -f deploy/docker-compose.yml up -d"
echo "Server is not healthy. Run: docker compose -f deploy/docker-compose.yml up -d --build"
exit 1
fi
echo -e "${GREEN}Server is healthy${NC}"
+1 -1
View File
@@ -9,7 +9,7 @@ New to certificates? Read the [Concepts Guide](concepts.md) first. Want a hands-
```bash
git clone https://github.com/shankar0123/certctl.git
cd certctl
docker compose -f deploy/docker-compose.yml up -d
docker compose -f deploy/docker-compose.yml up -d --build
```
Wait ~30 seconds for PostgreSQL to initialize and the server to start, then open:
+3 -1
View File
@@ -20,9 +20,11 @@ On Linux, follow the official Docker install guide for your distribution.
```bash
git clone https://github.com/shankar0123/certctl.git
cd certctl
docker compose -f deploy/docker-compose.yml up -d
docker compose -f deploy/docker-compose.yml up -d --build
```
The `--build` flag is important — it builds the server image including the React frontend. Without it, Docker may use a stale cached image that doesn't include the dashboard.
Wait about 30 seconds for PostgreSQL to initialize and the server to boot. Check that everything is healthy:
```bash