1
0
Fork 0
mirror of https://github.com/Luzifer/mqtt2influx.git synced 2024-12-20 17:41:22 +00:00
mqtt2influx/Dockerfile
2020-07-11 18:20:49 +02:00

13 lines
243 B
Docker

FROM python: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"]