FROM docker.io/golang:alpine AS build ENV GOBIN /go/bin COPY . ./src RUN cd ./src && go build && go install FROM alpine:latest COPY --from=build /go/bin/* /usr/bin EXPOSE 8000 CMD /usr/bin/web-service-gin