FROM docker-registry.internal.justin.tv/devtools/go1.9.3:latest

LABEL maintainer "Creator Business"

ADD . ${GOPATH}/src/code.justin.tv/cb/kinesis_processor
WORKDIR ${GOPATH}/src/code.justin.tv/cb/kinesis_processor

RUN go install code.justin.tv/cb/kinesis_processor

EXPOSE 8000
ENTRYPOINT "${GOPATH}/bin/kinesis_processor"
