model-service/Dockerfile
Torma Kristóf ef0bcbe47e
Some checks failed
continuous-integration/drone/push Build is failing
use public base image
2022-01-31 23:46:28 +01:00

13 lines
301 B
Docker

FROM birbnetes/ai-base-image
ADD model_service requirements.txt /model_service/
WORKDIR /model_service/
RUN pip3 install -r requirements.txt && pip3 install gunicorn
ENV GUNICORN_LOGLEVEL="info"
EXPOSE 8000
CMD ["gunicorn", "-b", "0.0.0.0:8000", "--log-level", "${GUNICORN_LOGLEVEL}", "app:app"]