A modification-free API for Minecraft utilizing log parsing
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
246 B

FROM golang:alpine AS builder
ADD . /go/src
RUN cd /go/src; go build -o sleeper
FROM alpine
ADD docker/entrypoint.sh /entrypoint.sh
COPY --from=builder /go/src/sleeper /usr/bin/sleeper
RUN chmod +x /entrypoint.sh
ENTRYPOINT "/entrypoint.sh"