FROM xena/go:1.13.5 AS build WORKDIR /wasmcloud COPY . . ENV GOPROXY https://cache.greedo.xeserv.us RUN GOBIN=/wasmcloud/bin go install -tags=postgres ./cmd/... FROM xena/alpine COPY --from=build /wasmcloud/bin/ /usr/local/bin CMD wasmcloudd WORKDIR /wasmcloud COPY tmpl/ /wasmcloud/tmpl/ COPY static/ /wasmcloud/static/ COPY doc/ /wasmcloud/doc/