blob: 069346c36520b15c72b16a3a0584477318a1ff3b (
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_interface"]
|