Mercurial > code > home > repos > homeauto
view service/rfid_pn532_py/Dockerfile.pi @ 1216:e720c1cff03e
use the right py3 cyclone patch
Ignore-this: b6d7f3fbe10fc777040d0db67cd61751
darcs-hash:4c057b9759cb0c40f3f8f951f8d24e425f4135c9
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sat, 23 Mar 2019 04:37:47 -0700 |
parents | b48f1ecbc078 |
children | f134b64a0ab7 |
line wrap: on
line source
FROM bang6:5000/base_pi WORKDIR /opt RUN apt-get install -y libnfc5 libfreefare0 libnfc-dev libfreefare-dev RUN apt-get install -y python3-nose2 COPY pyfreefare-build-pi ./pyfreefare-build COPY requirements.txt . RUN pip3 install -r requirements.txt RUN pip3 install -v -U 'https://github.com/drewp/cyclone/archive/python3.zip' COPY *.py *.html ./ ENV PYTHONPATH=/opt/pyfreefare-build EXPOSE 10012 CMD ["/usr/bin/python3", "rfid.py"]