doclayout / Dockerfile
Sergey Mikhno
dir
11b4e2f
raw
history blame
348 Bytes
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y build-essential && apt-get install -y libopencv-dev && apt-get install -y python3.10 python3-pip
#FROM python:3.9
WORKDIR /hab
COPY ./app .
RUN pip3 install -r requirements.txt
ENV MPLCONFIGDIR=/tmp/MPLCONFIGDIR/
CMD gunicorn --bind 0.0.0.0:8888 app:app