Dockerfile 281 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
FROM python:3
LABEL maintainer="Alexander Lercher"

RUN apt-get update
RUN pip install flask
RUN pip install connexion[swagger-ui]

EXPOSE 5000

WORKDIR /app

COPY src/data-hub/proactive-community-detection-microservice/app/ /app/
RUN chmod a+x main.py

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