2021-02-21 20:28:10 +00:00
|
|
|
FROM golang:1.16-alpine as builder
|
2020-09-12 15:23:25 +00:00
|
|
|
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"]
|