Skip to content

Commit

Permalink
start dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
zachrundle committed Aug 30, 2024
1 parent c5dfb6c commit 2e1a82a
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:1.22-alpine

WORKDIR /app

COPY go.* ./

RUN go mod download

COPY . .

RUN go build -o main main.go

EXPOSE 8080

CMD [ "./main" ]

0 comments on commit 2e1a82a

Please sign in to comment.