<reponame>pixelfactory-go/go.pixelfactory.io
FROM golang:1.14-alpine as builder

RUN apk add --update git
RUN go get go.uber.org/sally

FROM alpine:latest

RUN mkdir -p /app
COPY config.yml /app/config.yml
COPY --from=builder /go/bin/sally /app/sally

EXPOSE 8080
WORKDIR /app

CMD /app/sally -yml config.yml -port 8080
