error videos

This commit is contained in:
Ben Sarmiento
2023-11-07 12:25:11 +01:00
parent 568a9a9b70
commit d4f309072d
4 changed files with 37 additions and 2 deletions

View File

@@ -19,5 +19,9 @@ RUN CGO_ENABLED=0 GOOS=${GOOS} GOARCH=${GOARCH} go build -ldflags="-s -w" -o zur
FROM alpine:3
WORKDIR /app
COPY --from=builder /app/zurg .
RUN apk add --no-cache fuse3
RUN apk add --no-cache fuse3 netcat-openbsd
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
CMD nc -z localhost 9999 || exit 1
ENTRYPOINT ["./zurg"]