mirror of
https://github.com/gomods/athens
synced 2026-02-12 13:18:10 +00:00
* 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
15 lines
236 B
Docker
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"]
|