Mercurial > code > home > repos > homeauto
diff service/powerEagle/Dockerfile @ 1335:013af6808aca
update powereagle to py3, be a server with /stats/, save 'price' field
Ignore-this: 1b738295b503fb7409311ddd637b7a18
darcs-hash:8965d44bb93751bd5639768f8cd1defa15ab1dab
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Tue, 23 Apr 2019 03:57:55 -0700 |
parents | |
children | e8654a3bd1c7 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/service/powerEagle/Dockerfile Tue Apr 23 03:57:55 2019 -0700 @@ -0,0 +1,15 @@ +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 -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3' + +COPY *.py *.html ./ + +EXPOSE 10016 + +CMD [ "python3", "reader.py" ]