improvements to PIRdbWriteGate.py gatecounter db initialized by python script updated .env.template python scripts now run by gatecounter service gatecounter service build from Dockerfile
5 lines
154 B
Docker
5 lines
154 B
Docker
FROM python:3
|
|
WORKDIR /usr/src/app
|
|
RUN pip install --no-cache-dir sqlalchemy RPi.GPIO mysqlclient Adafruit-MCP3008 Adafruit-GPIO
|
|
ENTRYPOINT [ "python3" ]
|