mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-15 10:30:40 +00:00
Add prototype
This commit is contained in:
23
vre_manager/Dockerfile
Normal file
23
vre_manager/Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user