diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0e4ed6f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM golang:1.14.6-alpine3.12 + +RUN mkdir /src + +ADD . /src + +WORKDIR /src + +RUN go mod download +RUN go build -o main . + +CMD["/app/main"] \ No newline at end of file