aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2018-11-13 07:30:55 -0800
committerChristine Dodrill <me@christine.website>2018-11-13 07:30:55 -0800
commite245d89daa6dffc441be07dcb81b985397446378 (patch)
tree0d399b0de689f43fbbfaa979d939dca8aa03e716 /Dockerfile
parentbc8b7e5471e7f4984ee69af07d8e9632df01b85b (diff)
parent8fe5504c3a5e9cd8409d5296d128603a231567ac (diff)
downloadxesite-e245d89daa6dffc441be07dcb81b985397446378.tar.xz
xesite-e245d89daa6dffc441be07dcb81b985397446378.zip
Merge branch 'master' of git@github.com:Xe/site.git
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 32c4993..2c6ee52 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,8 @@
-FROM xena/go:1.11 AS build
-COPY . /root/go/src/github.com/Xe/site
-WORKDIR /root/go/src/github.com/Xe/site
-RUN GO111MODULE=on CGO_ENABLED=0 GOBIN=/root go install -v -mod=vendor ./cmd/site
+FROM xena/go:1.11.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
FROM xena/alpine
EXPOSE 5000