aboutsummaryrefslogtreecommitdiffstats
path: root/moon_orchestrator/Dockerfile
blob: aafe1784b717eee963eff0dbd0646dcec1736405 (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"]