Docker buid issue

This commit is contained in:
2025-10-17 10:09:07 +05:30
parent f64ddcca93
commit 83e3ae3305
2 changed files with 1 additions and 4 deletions

View File

@ -63,7 +63,7 @@ services:
condition: service_healthy
restart: always
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80/index.html"]
test: ["CMD-SHELL", "test -f /usr/share/nginx/html/index.html || exit 1"]
interval: 30s
timeout: 10s
retries: 5

View File

@ -18,9 +18,6 @@ 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