Docker buid issue
This commit is contained in:
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user