Skip to content

Commit

Permalink
instalar dependencias com conda
Browse files Browse the repository at this point in the history
  • Loading branch information
WallysFerreira committed Dec 1, 2023
1 parent afc54f3 commit 0990282
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
FROM python:latest
WORKDIR /highlight-extractor
COPY . /highlight-extractor/
ENV PATH="/root/miniconda3/bin:${PATH}"
ARG PATH="/root/miniconda3/bin:${PATH}"

RUN apt-get update
RUN apt-get -y install tesseract-ocr-por poppler-utils
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
RUN mkdir /root/.conda
RUN bash Miniconda3-latest-Linux-x86_64.sh -b
RUN conda install --yes -c conda-forge gcc
RUN conda install --yes -c conda-forge jpype1
RUN pip install -r requirements.txt

EXPOSE 8000
Expand Down

0 comments on commit 0990282

Please sign in to comment.