Mercurial > code > home > repos > homeauto
annotate service/cardReader/Dockerfile.pi @ 1754:92999dfbf321 default tip
add shelly support
author | drewp@bigasterisk.com |
---|---|
date | Tue, 04 Jun 2024 13:03:43 -0700 |
parents | 1ecceb2e92a3 |
children |
rev | line source |
---|---|
404 | 1 FROM bang6:5000/base_pi |
2 | |
3 WORKDIR /opt | |
432 | 4 RUN apt-get install -y libnfc5 libfreefare0 libnfc-dev libfreefare-dev python3-nose2 libffi-dev |
404 | 5 COPY pyfreefare-build-pi ./pyfreefare-build |
6 | |
7 COPY requirements.txt . | |
432 | 8 RUN pip3 install -Ur requirements.txt |
9 # not sure why this doesn't work from inside requirements.txt | |
10 RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip' | |
404 | 11 |
12 COPY *.py *.html ./ | |
13 | |
14 ENV PYTHONPATH=/opt/pyfreefare-build | |
15 EXPOSE 10012 | |
16 | |
412
91162a54553c
copy rest of rfid service from the first try. fix some crashes in tags.py
drewp@bigasterisk.com
parents:
404
diff
changeset
|
17 CMD ["/usr/bin/python3", "rfid.py"] |