FROM mono
ENV zen_path=""
ENV zen_wallet_password=""
ENV zen_node_uri=""
ENV oracle_api=""
ENV mongo_connection=""
EXPOSE 5050
RUN apt-get update && apt-get install -y apt-utils procps iptables git
RUN mkdir services
WORKDIR services
RUN git clone https://gitlab.com/zenprotocol/zen-oracle.git
WORKDIR zen-oracle
RUN ./paket restore
RUN msbuild src/zen-oracle.sln /p:Configuration=Release -m