diff options
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index a3df3e3..0000000 --- a/Dockerfile +++ /dev/null @@ -1,20 +0,0 @@ -FROM xena/go:1.14 AS build -ENV GOPROXY https://cache.greedo.xeserv.us -COPY . /site -WORKDIR /site -RUN CGO_ENABLED=0 go test -v ./... -RUN CGO_ENABLED=0 GOBIN=/root go install -v ./cmd/site - -FROM xena/alpine -EXPOSE 5000 -WORKDIR /site -COPY --from=build /root/site . -COPY ./static /site/static -COPY ./templates /site/templates -COPY ./blog /site/blog -COPY ./talks /site/talks -COPY ./gallery /site/gallery -COPY ./css /site/css -COPY ./signalboost.dhall /site/signalboost.dhall -HEALTHCHECK CMD wget --spider http://127.0.0.1:5000/.within/health || exit 1 -CMD ./site |
