From f64ddcca931b3be77a3df86a9340455f421e26d5 Mon Sep 17 00:00:00 2001 From: mukeshs Date: Fri, 17 Oct 2025 10:02:44 +0530 Subject: [PATCH] Docker buid issue --- docker-compose.yml | 6 +++--- fuse-starter-v20.0.0/Dockerfile | 3 +++ fuse-starter-v20.0.0/src/index.html | 7 +++---- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9390b8e..cdc8038 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -63,11 +63,11 @@ services: condition: service_healthy restart: always healthcheck: - test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80"] + test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80/index.html"] interval: 30s timeout: 10s - retries: 3 - start_period: 40s + retries: 5 + start_period: 60s networks: vending-network: diff --git a/fuse-starter-v20.0.0/Dockerfile b/fuse-starter-v20.0.0/Dockerfile index 55e52d3..f88e8af 100644 --- a/fuse-starter-v20.0.0/Dockerfile +++ b/fuse-starter-v20.0.0/Dockerfile @@ -18,6 +18,9 @@ RUN npm run build # =============================== FROM nginx:alpine +# Install wget for healthcheck +RUN apk add --no-cache wget + # Copy built files COPY --from=builder /app/dist/fuse/browser /usr/share/nginx/html diff --git a/fuse-starter-v20.0.0/src/index.html b/fuse-starter-v20.0.0/src/index.html index 367dd92..b4ed12b 100644 --- a/fuse-starter-v20.0.0/src/index.html +++ b/fuse-starter-v20.0.0/src/index.html @@ -1,7 +1,7 @@ - RootXVending + Fuse Angular - Angular Template and Starter Kit - + + -->