FROM openjdk:8-jdk
WORKDIR /hot
COPY shows shows
COPY config.json config.json
ENV HOT_VERSION 0.9.2-SNAPSHOT
RUN curl -sL https://github.com/dsolimando/Hot/releases/download/${HOT_VERSION}/hot-${HOT_VERSION}.tar.gz | tar xz
ENV HOT_HOME /hot/hot-${HOT_VERSION}
ENV PATH ${HOT_HOME}:${PATH}
CMD ["hot", "run"]
