Mercurial > code > home > repos > homeauto
view service/cardReader/Dockerfile.x86 @ 1708:3cfd3693a4ac
quick fixes for cyclone sse
author | drewp@bigasterisk.com |
---|---|
date | Wed, 17 Nov 2021 14:25:14 -0800 |
parents | 1ecceb2e92a3 |
children |
line wrap: on
line source
FROM bang6:5000/base_x86 WORKDIR /opt RUN apt-get install -y libnfc5 libfreefare0 libnfc-dev libfreefare-dev RUN apt-get install -y python3-nose2 COPY pyfreefare-build-x86 ./pyfreefare-build COPY requirements.txt . RUN pip3 install -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' COPY *.py *.html ./ ENV PYTHONPATH=/opt/pyfreefare-build EXPOSE 10012 CMD ["/usr/bin/python3", "rfid.py", "-v"]