FROM golang:1.16-alpine as builder RUN apk --no-cache add build-base git COPY . /app WORKDIR /app RUN make build FROM alpine:latest LABEL maintainer="john.olheiser@gmail.com" COPY --from=builder /app/vanity vanity EXPOSE 7777 ENTRYPOINT ["/vanity"]