blob: 49267ac964f4178fda0fb1acb1ead9ba20bebea3 [file] [log] [blame]
Rohan Patelf49bd1e2019-09-23 15:04:19 -04001FROM python:2.7
2
Rohan Patel6f7e46b2019-09-25 14:35:28 -04003# ARG HTTP_PROXY="http://localhost:8080"
4# ARG HTTPS_PROXY="http://localhost:8080"
5# ARG http_proxy="http://localhost:8080"
6# ARG https_proxy="http://localhost:8080"
7
8ENV NAMESPACE=namespace
9ENV APP_NAME=otf-robot-test-head
10ENV APP_VERSION=1.0
11ENV OTF_MONGO_HOSTS=localhost:27017
12ENV OTF_MONGO_DATABASE=otf
13ENV OTF_MONGO_REPLICASET=mongoOTF
14ENV OTF_MONGO_USERNAME=username
15ENV OTF_MONGO_PASSWORD=password
Rohan Patelf49bd1e2019-09-23 15:04:19 -040016
17RUN python --version
18
19ADD pip-requirements.txt pip-requirements.txt
20ADD run.py run.py
21ADD app app
22
23RUN python -m pip install -r pip-requirements.txt
24
25RUN mkdir -p /otf/logs
26
27ENTRYPOINT ["python", "run.py"]