Mercurial > code > home > repos > collector
diff Dockerfile @ 0:e2d855c00e57
initial move from homeauto/ repo
author | drewp@bigasterisk.com |
---|---|
date | Tue, 29 Mar 2022 21:44:04 -0700 |
parents | |
children | 1275220a644b |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Dockerfile Tue Mar 29 21:44:04 2022 -0700 @@ -0,0 +1,17 @@ +FROM bang5:5000/base_basic + +WORKDIR /opt + +RUN echo 2021-08-26 && apt-get update +RUN apt-get install -y vim net-tools iputils-ping git + +COPY requirements.txt ./ +RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -Ur requirements.txt +# not sure why this doesn't work from inside requirements.txt +RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip' + +COPY *.py *.html req* *.ini ./ + +EXPOSE 9072 + +CMD [ "python3", "./collector.py" ]