aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/moon_orchestrator/Dockerfile
blob: b68c130fd926e16fb21bc6cd47624bec2da0ebbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM ubuntu:latest

ENV CONSUL_HOST=consul
ENV CONSUL_PORT=8500

RUN apt update && apt install python3.5 python3-pip python3-mysql.connector -y
RUN pip3 install pip --upgrade

ADD . /root
WORKDIR /root/
RUN pip3 install -r requirements.txt --upgrade
RUN pip3 install . --upgrade

CMD ["python3", "bootstrap.py"]