diff --git a/dockerfile b/dockerfile index 18cee45..eaaf007 100644 --- a/dockerfile +++ b/dockerfile @@ -1,14 +1,7 @@ -FROM ubuntu:latest - +FROM python:3.8 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 apt-get update +RUN apt-get install -y default-jdk RUN pip install -r requirements.txt - -CMD python api.py - - +EXPOSE 80:8000/tcp +CMD python api.py \ No newline at end of file