Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
zer-far authored Oct 28, 2024
1 parent 932e076 commit aeedd30
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM golang:latest as builder

WORKDIR /app

COPY go.mod go.sum ./

COPY . .

RUN make

FROM alpine:latest

COPY --from=builder /app/spurt .

ENTRYPOINT ["./spurt"]

0 comments on commit aeedd30

Please sign in to comment.