12 lines
250 B
Docker
12 lines
250 B
Docker
|
FROM golang:1.15-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"]
|