John Olheiser
2f688b839b
Co-authored-by: jolheiser <john.olheiser@gmail.com> Reviewed-on: #9 Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-committed-by: John Olheiser <john.olheiser@gmail.com>
12 lines
250 B
Docker
12 lines
250 B
Docker
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"]
|