Skip to content

Commit 84cb4bf

Browse files
committed
added simple dockerfile for golang app
1 parent 58c3eb2 commit 84cb4bf

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM golang
2+
3+
WORKDIR /app
4+
5+
COPY . .
6+
7+
RUN go mod download
8+
9+
CMD ["go", "run","./main.go"]

0 commit comments

Comments
 (0)