aboutsummaryrefslogtreecommitdiffstats
path: root/moon_wrapper/Dockerfile
blob: 00aeb3f19c7fa91df544b05eacb2a978c6eaec04 (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_wrapper"]