Default to example config (#678)

This commit is contained in:
Marwan Sulaiman
2018-09-19 02:20:37 -04:00
committed by GitHub
parent 86d94c3e5a
commit b6ca4149e5
+3 -3
View File
@@ -18,14 +18,14 @@ FROM alpine
ENV GO111MODULE=on
COPY --from=builder /bin/app /bin/app
COPY --from=builder /go/src/github.com/gomods/athens/config.toml /config/config.toml
COPY --from=builder /go/src/github.com/gomods/athens/config.example.toml /config/config.toml
COPY --from=builder /go/src/github.com/gomods/athens/cmd/proxy/locales /go/src/github.com/gomods/athens/cmd/proxy/locales
COPY --from=builder /go/src/github.com/gomods/athens/cmd/proxy/assets /go/src/github.com/gomods/athens/cmd/proxy/assets
COPY --from=builder /usr/local/go/bin/go /bin/go
RUN apk update && \
apk add --no-cache bzr git mercurial openssh-client subversion procps fossil && \
mkdir -p /usr/local/go
apk add --no-cache bzr git mercurial openssh-client subversion procps fossil && \
mkdir -p /usr/local/go
ENV GO_ENV=production