Skip to content

Commit

Permalink
Merge pull request #11 from RianIhsan/feat/dockerfile
Browse files Browse the repository at this point in the history
feat: dockerfile
  • Loading branch information
RianIhsan authored Jun 15, 2024
2 parents a414b69 + 6bbc8f9 commit b83dbf8
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.21-alpine

COPY . /app

WORKDIR /app

RUN go mod tidy

RUN go build -o app .

CMD ["/app/app"]

0 comments on commit b83dbf8

Please sign in to comment.