FROM ubuntu:16.04

ENV appDir /opt/twitch/jax/current
RUN mkdir -p $appDir
COPY ./.manta/ $appDir

RUN apt-get update

RUN apt-get install -y software-properties-common python-software-properties wget apt-transport-https curl supervisor vim

USER root
EXPOSE 6065
ENTRYPOINT ["/opt/twitch/jax/current/updater/updater_exec", "--conf=/var/app/jax.json"]
