Skip to content

Commit

Permalink
Add dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Santonclause committed Feb 18, 2024
1 parent 15e59ac commit cb04fe7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM golang:1.19

WORKDIR /app
COPY go.mod go.sum ./

RUN go mod download

COPY . ./

RUN CGO_ENABLED=0 GOOS=linux go build -o /upstreamtest
CMD ["/upstreamtest"]

0 comments on commit cb04fe7

Please sign in to comment.