Files
athens/cmd/proxy/Dockerfile
Komu Wairagu 69a5340c91 update to go1.11 (#563)
* update travis to Go 1.11

* update check_deps ci script
ci for checking dependencies should now check Go module files and use go mod verify

* remove uneeded comment

* set GO111MODULE

* debug GO111MODULE propagation

* rm dep installation

* debug GO111MODULE propagation

* rm debug statements

* use Go point releases in ci

* remove references to Go1.11 RCs

* run ci with GO111MODULE auto and also on

* use matrix
2018-08-28 08:46:12 +02:00

15 lines
236 B
Docker

FROM golang:1.11
RUN mkdir -p $GOPATH/src/github.com/gomods/athens
WORKDIR $GOPATH/src/github.com/gomods/athens
COPY . .
RUN CGO_ENABLED=0 go build -o /bin/app ./cmd/proxy
ENV GO_ENV=production
EXPOSE 3000
ENTRYPOINT ["/bin/app"]