model-service/Dockerfile

11 lines
252 B
Docker
Raw Normal View History

2020-05-06 15:02:14 +02:00
FROM registry.kmlabz.com/birbnetes/ai-base-image
2020-04-13 21:14:06 +02:00
ADD model_service requirements.txt /model_service/
WORKDIR /model_service/
RUN pip3 install -r requirements.txt && pip3 install gunicorn
EXPOSE 8000
CMD ["gunicorn", "-b", "0.0.0.0:8000", "app:app"]