Skip to content

Commit caf90da

Browse files
authored
Dockerfile: add ENTRYPOINT (#1095)
Make the docker image easier to consume. Signed-off-by: Ian Kerins <git@isk.haus>
1 parent 3728d99 commit caf90da

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o /go/bin/ratelimit -ldflags="-w -s" -v g
1212

1313
FROM gcr.io/distroless/static-debian12:nonroot@sha256:e8a4044e0b4ae4257efa45fc026c0bc30ad320d43bd4c1a7d5271bd241e386d0
1414
COPY --from=build /go/bin/ratelimit /bin/ratelimit
15+
ENTRYPOINT ["/bin/ratelimit"]

0 commit comments

Comments
 (0)