Skip to content
This repository was archived by the owner on Jun 26, 2024. It is now read-only.

Commit 59e6ac3

Browse files
committed
fixed copied command executable path in Dockerfile
1 parent c47dc82 commit 59e6ac3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ RUN go build -mod=readonly -o bridge -buildvcs=false -trimpath -ldflags "-w -s -
88
# runtime image
99
FROM alpine:3.15
1010
RUN addgroup -S nonroot && adduser -S nonroot -G nonroot
11-
COPY --from=builder --chown=nonroot:nonroot /go/src/github.com/basemachina/bridge /bridge
11+
COPY --from=builder --chown=nonroot:nonroot /go/src/github.com/basemachina/bridge/bridge /bridge
1212

1313
# hadolint ignore=DL3018
1414
RUN apk update && apk add --no-cache ca-certificates \
1515
'libretls>3.3.4-r2' # CVE-2022-0778
1616
USER nonroot
1717
EXPOSE 8080
18-
CMD ["/bridge"]
18+
CMD ["/bridge"]

0 commit comments

Comments
 (0)