Browse Source

Add dockerfile.

master
Chris Smith 5 years ago
parent
commit
0fc7b00ddb
1 changed files with 10 additions and 0 deletions
  1. 10
    0
      Dockerfile

+ 10
- 0
Dockerfile View File

@@ -0,0 +1,10 @@
1
+FROM golang:alpine
2
+
3
+WORKDIR /go/src/app
4
+COPY . .
5
+
6
+RUN apk add git build-base
7
+
8
+RUN GO111MODULE=on go install -v ./...
9
+
10
+CMD ["dotege"]

Loading…
Cancel
Save