aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2019-03-21 11:08:38 -0700
committerChristine Dodrill <me@christine.website>2019-03-21 11:08:38 -0700
commit4a3378cf43a35ecad32aea8947fd6c08997a755e (patch)
tree031775c0a24bbd0243275097ab1a3df212ba3f5d /Dockerfile
parentb46f9684870f1d5302e81ac24fef3ec32ec178da (diff)
downloadxesite-4a3378cf43a35ecad32aea8947fd6c08997a755e.tar.xz
xesite-4a3378cf43a35ecad32aea8947fd6c08997a755e.zip
Dockerfile: run tests
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 2146a58..4391948 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,7 +2,8 @@ FROM xena/go:1.12.1 AS build
ENV GOPROXY https://cache.greedo.xeserv.us
COPY . /site
WORKDIR /site
-RUN CGO_ENABLED=0 GOBIN=/root go install -v ./cmd/site
+RUN CGO_ENABLED=0 go test ./...
+RUN CGO_ENABLED=0 GOBIN=/root go install ./cmd/site
FROM xena/alpine
EXPOSE 5000