mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-01-13 11:40:35 +00:00
23 lines
513 B
Docker
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"] |