Skip to content

Commit

Permalink
Merge pull request #1 from jvanz/minor-fixes-to-aassumpcao-changes
Browse files Browse the repository at this point in the history
Minor fixes to aassumpcao changes
  • Loading branch information
aassumpcao authored Dec 5, 2020
2 parents 5178830 + bf65f15 commit 9357129
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,5 @@ dmypy.json
data/*
*scratch/
tests/text_extraction_tests_aassumpcao.py
fake_gazette.json
fake_gazette.txt
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ FROM python:3.8
RUN adduser --system gazette

RUN apt-get update -y
RUN apt-get -y install default-jre wait-for-it
RUN apt-get -y install default-jre wait-for-it libtesseract4 tesseract-ocr-por

# install Apache Tika
ADD http://archive.apache.org/dist/tika/tika-app-1.24.jar /tika-app.jar
RUN chmod 755 /tika-app.jar

RUN mkdir /mnt/code
COPY . /mnt/code
Expand All @@ -12,9 +16,5 @@ ENV PYTHONPATH=/mnt/code

RUN pip install --no-cache-dir -r requirements.txt

# install Apache Tika
ADD http://archive.apache.org/dist/tika/tika-app-1.24.jar /tika-app.jar
RUN chmod 755 /tika-app.jar

USER gazette

1 change: 0 additions & 1 deletion tests/data/fake_gazette.json

This file was deleted.

4 changes: 0 additions & 4 deletions tests/data/fake_gazette.txt

This file was deleted.

0 comments on commit 9357129

Please sign in to comment.