job_orchestrator_service/Dockerfile

11 lines
252 B
Docker
Raw Permalink Normal View History

2021-04-16 19:53:02 +02:00
FROM python:3.9
ADD job_orchestrator_service requirements.txt /job_orchestrator_service/
WORKDIR /job_orchestrator_service/
RUN pip3 install -r requirements.txt && pip3 install gunicorn
EXPOSE 8000
CMD ["gunicorn", "-b", "0.0.0.0:8000", "app:app"]