Skip to content

Commit

Permalink
Merge pull request #219 from Bharadwajshivam28/container_image
Browse files Browse the repository at this point in the history
feat: created container image
  • Loading branch information
k8s-ci-robot authored Nov 14, 2024
2 parents 4b8c2e9 + 044ffcd commit e8a92aa
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM golang:1.23-alpine AS builder

WORKDIR /app

COPY go.mod go.sum ./

RUN go mod download

COPY . .

RUN go build -o bin/hydrophone main.go

FROM alpine:latest

WORKDIR /root/

COPY --from=builder /app/bin/hydrophone .

ENTRYPOINT ["./hydrophone"]

0 comments on commit e8a92aa

Please sign in to comment.