Fix possible issues

This commit is contained in:
Ben Sarmiento
2024-01-31 18:08:48 +01:00
parent 7794e641ab
commit 4c9b54c01c
6 changed files with 52 additions and 60 deletions

View File

@@ -11,8 +11,8 @@ RUN go build -ldflags "-s -w -X 'github.com/debridmediamanager/zurg/internal/ver
FROM alpine:3 AS obfuscator
WORKDIR /app
COPY --from=builder /app/zurg .
# RUN apk add --no-cache upx
# RUN upx --brute zurg
RUN apk add --no-cache upx
RUN upx --brute zurg
# Create a health check script that extracts the port from the config file
COPY ./healthcheck.sh /app/healthcheck.sh
RUN chmod +x /app/healthcheck.sh