Skip to content

Commit

Permalink
chore: Removed Unwanted Imports in Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Soorya U <sooryau7@gmail.com>
  • Loading branch information
soorya-u committed Nov 30, 2024
1 parent 67bed3a commit 6b2d79a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,17 @@ ENV PYTHONDONTWRITEBYTECODE=1
RUN apt update

RUN apt install -y curl
RUN apt install -y tesseract-ocr # pytesseract dependency
RUN apt install -y cmake build-essential
RUN apt install -y libterm-readline-perl-perl tesseract-ocr # pytesseract dependency
# Remove the below line after migrating to opencv-headless
RUN apt install -y ffmpeg libsm6 libxext6 # opencv dependency
RUN apt install -y cmake build-essential python3-dev libboost-python-dev libboost-system-dev libboost-thread-dev libx11-dev libopenblas-dev liblapack-dev libjpeg-dev zlib1g-dev g++

RUN curl -sSL https://install.python-poetry.org | python3 -
ENV PATH="/root/.local/bin:$PATH"


COPY poetry.lock pyproject.toml ./

RUN pip install --no-cache-dir --no-binary dlib dlib==19.24.6
RUN poetry install

COPY . .
Expand Down

0 comments on commit 6b2d79a

Please sign in to comment.