Dockerfile 462 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
FROM python:3
LABEL maintainer="Alexander Lercher"

ENV http_proxy http://proxy.uni-klu.ac.at:3128/
ENV https_proxy http://proxy.uni-klu.ac.at:3128/

RUN apt-get update
RUN pip install flask
RUN pip install connexion[swagger-ui]
10
RUN pip install pika
11
RUN pip install pymongo
12
RUN pip install deprecated
13 14 15 16

EXPOSE 5000

WORKDIR /app
17 18
COPY transaction-hub-in/trace-retrieval-microservice/app/ /app/
COPY modules/ /app/
19 20 21
RUN chmod a+x main.py

CMD ["python", "./main.py"]