Docker buid issue
This commit is contained in:
@ -63,7 +63,7 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
restart: always
|
restart: always
|
||||||
healthcheck:
|
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
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|||||||
@ -18,9 +18,6 @@ RUN npm run build
|
|||||||
# ===============================
|
# ===============================
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
|
|
||||||
# Install wget for healthcheck
|
|
||||||
RUN apk add --no-cache wget
|
|
||||||
|
|
||||||
# Copy built files
|
# Copy built files
|
||||||
COPY --from=builder /app/dist/fuse/browser /usr/share/nginx/html
|
COPY --from=builder /app/dist/fuse/browser /usr/share/nginx/html
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user