view service/store/Dockerfile @ 1688:5871ef3a380e

cnof checkpoint
author drewp@bigasterisk.com
date Mon, 27 Sep 2021 23:18:49 -0700
parents a93fbf0d0daa
children
line wrap: on
line source

FROM bang6:5000/base_x86

WORKDIR /opt

COPY requirements.txt ./
RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt
# not sure why this doesn't work from inside requirements.txt
RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -U 'https://github.com/drewp/cyclone/archive/python3.zip?v2'

COPY *.py *.html ./

EXPOSE 10015

CMD [ "python3", "./store.py" ]