1
0
Fork 0
mirror of https://github.com/Luzifer/mqtt2influx.git synced 2024-12-20 17:41:22 +00:00
mqtt2influx/Dockerfile
Knut Ahlers 1bf3f55845
Pin deps and python version
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-09-16 20:25:51 +02:00

13 lines
248 B
Docker

FROM python:3.10-alpine
COPY requirements.txt /src/requirements.txt
WORKDIR /src
RUN set -ex \
&& pip install -r /src/requirements.txt
VOLUME ["/config"]
ENV CONFIG_PATH=/config/config.yml
COPY . /src
CMD ["/usr/local/bin/python3", "main.py"]