Skip to content

Commit

Permalink
Fix Dockerfile to use goreleaser generated binary (#183)
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com>
Co-authored-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com>
  • Loading branch information
tylerauerbeck and tylerauerbeck authored Jun 23, 2023
1 parent abd241e commit de8cec3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ FROM gcr.io/distroless/static:nonroot
USER 65532:65532

# Copy the binary that goreleaser built
COPY loadbalancer-api /loadbalancer-api
COPY load-balancer-api /load-balancer-api

# Run the web service on container startup.
ENTRYPOINT ["/loadbalancer-api"]
ENTRYPOINT ["/load-balancer-api"]
CMD ["serve"]

0 comments on commit de8cec3

Please sign in to comment.