mirror of
https://github.com/tobiasehlert/teslamateapi.git
synced 2026-02-27 09:54:18 +08:00
fix(docker): adjust chmod permissions on binary (#354)
Co-authored-by: Tobias Lindberg <tobias.ehlert@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user