nopaque/vre_manager/Dockerfile
Patrick Jentsch 86557443a2 Add prototype
2019-06-03 14:57:09 +02:00

23 lines
513 B
Docker

FROM python:3-slim
MAINTAINER Patrick Jentsch <p.jentsch@uni-bielefeld.de>
ENV PYTHONDONTWRITEBYTECODE=1
EXPOSE 5000
RUN pip install \
connexion[swagger-ui] \
flask-cors
RUN mkdir -p \
/root/vre_manager/request_handlers \
/root/vre_manager/swagger
WORKDIR /root/vre_manager
COPY vre_manager.py /root/vre_manager
COPY swagger/vre_manager.yml /root/vre_manager/swagger
COPY request_handlers/jobs.py /root/vre_manager/request_handlers
ENTRYPOINT ["python", "/root/vre_manager/vre_manager.py"]