1
0
mirror of synced 2026-03-09 20:13:40 +00:00

Initial commit of amcrest2mqtt code

This commit is contained in:
Daniel Chesterton
2021-02-08 20:05:26 +00:00
parent 138d731260
commit 7fe314614d
6 changed files with 294 additions and 0 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM python:3.9-alpine as base
FROM base as builder
RUN mkdir /install
WORKDIR /install
COPY requirements.txt /
RUN pip install --prefix=/install -r /requirements.txt
FROM base
COPY --from=builder /install /usr/local
COPY src /app
WORKDIR /app
CMD [ "python", "-u", "/app/amcrest2mqtt.py" ]