Mercurial > code > home > repos > homeauto
view service/rfid_pn532_py/Dockerfile.pi @ 1457:2ba144b7ede0
whitespace and doc
Ignore-this: 51023da4821300d28020696e0b145db5
darcs-hash:716d578348ca7a56c55f0687741d19077829c5e8
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Wed, 25 Sep 2019 17:56:03 -0700 |
parents | d8aa414f21d9 |
children |
line wrap: on
line source
FROM bang6:5000/base_pi WORKDIR /opt RUN apt-get install -y libnfc5 libfreefare0 libnfc-dev libfreefare-dev python3-nose2 libffi-dev COPY pyfreefare-build-pi ./pyfreefare-build COPY requirements.txt . RUN pip3 install -Ur 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' COPY *.py *.html ./ ENV PYTHONPATH=/opt/pyfreefare-build EXPOSE 10012 CMD ["/usr/bin/python3", "rfid.py"]