diff --git a/.drone.yml b/.drone.yml index f8e7666..35fe0c0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ pipeline: commands: - mkdir -p /go/bin /go/src - go get github.com/revel/cmd/revel - - revel build github.com/CyCoreSystems/cycore-web /go/tmp prod + - revel build github.com/CyCoreSystems/cycore-web tmp prod >> /dev/null publish: image: plugins/docker repo: quay.io/cycore/web diff --git a/Dockerfile b/Dockerfile index 7268b2e..303beee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,3 @@ FROM ulexus/go-minimal -COPY /go/tmp/cycore-web /app -COPY /go/tmp/src / +COPY tmp/cycore-web /app +COPY tmp/src / diff --git a/conf/app.conf b/conf/app.conf index 2b38daf..c99408e 100644 --- a/conf/app.conf +++ b/conf/app.conf @@ -182,8 +182,8 @@ module.testrunner = log.trace.output = off log.info.output = off -log.warn.output = log/%(app.name)s.log -log.error.output = log/%(app.name)s.log +log.warn.output = stderr +log.error.output = stderr # Revel log flags. Possible flags defined by the Go `log` package, # please refer https://golang.org/pkg/log/#pkg-constants