first coomit

This commit is contained in:
2020-08-10 12:58:54 +08:00
commit 5c00a2534b
16 changed files with 307 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
FROM golang:1.9
WORKDIR /go/src
COPY . .
WORKDIR ./nbarest
ENV GOPATH=/go
RUN go get "github.com/gorilla/mux"
RUN go get "gopkg.in/mgo.v2"
RUN CGO_ENABLED=0 GOOS=linux go build -o /nbaservice ./nbaservice
EXPOSE 8181
CMD ["/nbaservice"]