mirror of
https://github.com/Luzifer/mqtt2influx.git
synced 2024-12-20 17:41:22 +00:00
14 lines
243 B
Text
14 lines
243 B
Text
|
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"]
|