aboutsummaryrefslogtreecommitdiffstats
path: root/moon_manager/Dockerfile
blob: 630c275ba94e3b7451bf26fbf3e9cb1c01ba5716 (plain)
1
2
3
4
5
6
7
8
9
10
FROM python:3

ADD . /root
WORKDIR /root/
RUN pip3 install -r requirements.txt
RUN if [ -d /root/dist ]; then for FILE in $(ls /root/dist/*.tar.gz); do pip install $FILE --upgrade; done; fi
RUN if [ -d /root/dist ]; then for FILE in $(ls /root/dist/*.whl); do pip install $FILE --upgrade; done; fi
RUN pip3 install .

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