model-service/Dockerfile
Torma Kristóf 1d9d67ebcc
All checks were successful
continuous-integration/drone/push Build is passing
add cache
2020-05-06 15:02:14 +02:00

11 lines
252 B
Docker

FROM registry.kmlabz.com/birbnetes/ai-base-image
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"]