aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/moon_orchestrator/Dockerfile
blob: 70eef9a87093768e3916cd2a07aa912db10df37e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 /root/dist/* --upgrade
RUN pip3 install . --upgrade

CMD ["python3", "-m", "moon_orchestrator"]