spacepanel_aggregator/Dockerfile

14 lines
212 B
Docker
Raw Normal View History

2020-07-24 20:50:37 +00:00
FROM golang:1.14 as build-env
WORKDIR /go/src/app
ADD . /go/src/app
RUN go get -d -v ./...
RUN go build -o /go/bin/app
FROM gcr.io/distroless/base
COPY --from=build-env /go/bin/app /
CMD ["/app"]
EXPOSE 8080