DPZC-5/dockerfile

15 lines
266 B
Plaintext

FROM ubuntu:latest
COPY api.py requirements.txt ./
RUN apt-get update -y
RUN apt-get install -y libgl1-mesa-glx
RUN apt-get install -y tesseract-ocr-pol
RUN apt-get install -y python3-pip
EXPOSE 80:8000/tcp
RUN pip install -r requirements.txt
CMD python api.py