2018-09-19 18:18:04 -06:00
|
|
|
FROM alpine AS builder
|
|
|
|
RUN apk --no-cache add go libc-dev
|
|
|
|
COPY src /src
|
|
|
|
RUN go build -o /mothd /src/*.go
|
|
|
|
|
|
|
|
FROM alpine
|
|
|
|
COPY --from=builder /mothd /mothd
|
2018-09-27 17:12:29 -06:00
|
|
|
COPY theme /theme
|
2018-09-19 18:18:04 -06:00
|
|
|
ENTRYPOINT [ "/mothd" ]
|