Mercurial > code > home > repos > collector
comparison Dockerfile @ 1:1275220a644b
pipenv
author | drewp@bigasterisk.com |
---|---|
date | Tue, 29 Mar 2022 22:02:25 -0700 |
parents | e2d855c00e57 |
children | fd73907cef40 |
comparison
equal
deleted
inserted
replaced
0:e2d855c00e57 | 1:1275220a644b |
---|---|
1 FROM bang5:5000/base_basic | 1 FROM bang5:5000/base_basic |
2 | 2 |
3 WORKDIR /opt | 3 WORKDIR /opt |
4 | 4 |
5 RUN echo 2021-08-26 && apt-get update | 5 RUN echo 2021-08-26 && apt-get update |
6 RUN apt-get install -y vim net-tools iputils-ping git | 6 RUN apt-get install -y vim net-tools iputils-ping git pipenv |
7 | 7 |
8 COPY requirements.txt ./ | 8 COPY Pipfile Pipfile.lock ./ |
9 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -Ur requirements.txt | 9 RUN pipenv install |
10 # not sure why this doesn't work from inside requirements.txt | |
11 RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip' | |
12 | 10 |
13 COPY *.py *.html req* *.ini ./ | 11 COPY *.py *.html ./ |
14 | 12 |
15 EXPOSE 9072 | 13 EXPOSE 9072 |
16 | 14 |
17 CMD [ "python3", "./collector.py" ] |