Loading Dockerfile +8 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,14 @@ FROM python:3.12 AS base # We will use /app as our main directory within the Docker container WORKDIR /app # Install Java and tabula-java RUN apt-get update && \ apt-get install -y default-jre && \ rm -rf /var/lib/apt/lists/* ADD https://github.com/tabulapdf/tabula-java/releases/download/v1.0.5/tabula-1.0.5-jar-with-dependencies.jar /opt/ COPY ./tabula.sh /bin/tabula # First, copy and install only the requirements... RUN pip install --upgrade pip setuptools COPY requirements.txt . Loading tabula.sh 0 → 100755 +2 −0 Original line number Diff line number Diff line #!/bin/sh java -jar /opt/tabula-1.0.5-jar-with-dependencies.jar $1 Loading
Dockerfile +8 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,14 @@ FROM python:3.12 AS base # We will use /app as our main directory within the Docker container WORKDIR /app # Install Java and tabula-java RUN apt-get update && \ apt-get install -y default-jre && \ rm -rf /var/lib/apt/lists/* ADD https://github.com/tabulapdf/tabula-java/releases/download/v1.0.5/tabula-1.0.5-jar-with-dependencies.jar /opt/ COPY ./tabula.sh /bin/tabula # First, copy and install only the requirements... RUN pip install --upgrade pip setuptools COPY requirements.txt . Loading
tabula.sh 0 → 100755 +2 −0 Original line number Diff line number Diff line #!/bin/sh java -jar /opt/tabula-1.0.5-jar-with-dependencies.jar $1