added svcapi ui and camunda code
[it/otf.git] / otf-robot-test-head / Dockerfile
1 FROM python:2.7\r
2 \r
3 # ARG HTTP_PROXY="http://localhost:8080" \r
4 # ARG HTTPS_PROXY="http://localhost:8080" \r
5 # ARG http_proxy="http://localhost:8080" \r
6 # ARG https_proxy="http://localhost:8080"\r
7 \r
8 ENV NAMESPACE=namespace\r
9 ENV APP_NAME=otf-robot-test-head\r
10 ENV APP_VERSION=1.0\r
11 ENV OTF_MONGO_HOSTS=localhost:27017\r
12 ENV OTF_MONGO_DATABASE=otf\r
13 ENV OTF_MONGO_REPLICASET=mongoOTF\r
14 ENV OTF_MONGO_USERNAME=username\r
15 ENV OTF_MONGO_PASSWORD=password\r
16 \r
17 RUN python --version\r
18 \r
19 ADD pip-requirements.txt pip-requirements.txt\r
20 ADD run.py run.py\r
21 ADD app app\r
22 \r
23 RUN python -m pip install -r pip-requirements.txt\r
24 \r
25 RUN mkdir -p /otf/logs\r
26 \r
27 ENTRYPOINT ["python", "run.py"]