13 lines
301 B
Docker
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"]
|
|
|