Add prototype

This commit is contained in:
Patrick Jentsch
2019-06-03 14:57:09 +02:00
parent b8fa8f47ab
commit 86557443a2
43 changed files with 24638 additions and 53 deletions

23
vre_manager/Dockerfile Normal file
View File

@ -0,0 +1,23 @@
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"]