Mercurial > code > home > repos > homeauto
comparison service/cardReader/Dockerfile.x86 @ 1526:c476543e761e
rename rfid_pn532_py
Ignore-this: 89356f780bb5df4d9ec639c44d2a3a67
darcs-hash:212e7f3250cf67ce80922597188d33547d41b0f8
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Wed, 05 Feb 2020 16:40:46 -0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1525:ce118c7c06d9 | 1526:c476543e761e |
---|---|
1 FROM bang6:5000/base_x86 | |
2 | |
3 WORKDIR /opt | |
4 RUN apt-get install -y libnfc5 libfreefare0 libnfc-dev libfreefare-dev | |
5 RUN apt-get install -y python3-nose2 | |
6 COPY pyfreefare-build-x86 ./pyfreefare-build | |
7 | |
8 COPY requirements.txt . | |
9 RUN pip3 install -r requirements.txt | |
10 # not sure why this doesn't work from inside requirements.txt | |
11 RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip' | |
12 | |
13 COPY *.py *.html ./ | |
14 | |
15 ENV PYTHONPATH=/opt/pyfreefare-build | |
16 EXPOSE 10012 | |
17 | |
18 CMD ["/usr/bin/python3", "rfid.py", "-v"] |