diff options
Diffstat (limited to 'moon_manager/Dockerfile')
-rw-r--r-- | moon_manager/Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/moon_manager/Dockerfile b/moon_manager/Dockerfile index b5eb4e02..630c275b 100644 --- a/moon_manager/Dockerfile +++ b/moon_manager/Dockerfile @@ -3,6 +3,8 @@ 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"]
\ No newline at end of file |