blob: c44d7c23bcf3bb4421facd89f7538ba4a09ebf20 (
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_authz"]
|