fix(docker): adjust chmod permissions on binary (#354)

Co-authored-by: Tobias Lindberg <tobias.ehlert@gmail.com>
This commit is contained in:
Denys Vitali
2025-09-09 10:15:15 +02:00
committed by GitHub
parent f37768fcdc
commit e64add4389

View File

@@ -35,7 +35,7 @@ RUN apk --no-cache add ca-certificates tzdata && \
USER nonroot:nonroot
# copy binary from builder
COPY --from=builder --chown=nonroot:nonroot --chmod=544 /go/src/app .
COPY --from=builder --chown=nonroot:nonroot --chmod=555 /go/src/app .
# expose port 8080
EXPOSE 8080