PDF reading with python

This commit is contained in:
2021-11-01 11:00:59 -03:00
parent 9f301e2175
commit 5ee267568a
74 changed files with 1092 additions and 26 deletions

18
python/Dockerfile Normal file
View File

@ -0,0 +1,18 @@
FROM python
RUN apt-get update -y && apt-get install -y default-jre
RUN pip install flask tabula-py pyyaml pypdf4 gunicorn
WORKDIR /app
COPY ./src/ /app/src/
#ENTRYPOINT ["/bin/bash"]
EXPOSE 5000
WORKDIR /app/src
CMD ["python", "app.py"]
#CMD ["gunicorn", "-b 0.0.0.0:5000", "app:app"]