1
0
mirror of synced 2026-03-09 20:13:40 +00:00
Files
amcrest2mqtt/Dockerfile
Daniel Chesterton 1b85a28e01 Fix workflow
2021-05-28 22:52:10 +01:00

17 lines
339 B
Docker

FROM python:3.9-alpine as base
FROM base as builder
RUN mkdir /install
WORKDIR /install
COPY requirements.txt /
RUN pip install --no-warn-script-location --prefix=/install -r /requirements.txt
FROM base
COPY --from=builder /install /usr/local
COPY src /app
COPY VERSION /app
WORKDIR /app
CMD [ "python", "-u", "/app/amcrest2mqtt.py" ]