baxin commited on
Commit
555093f
·
verified ·
1 Parent(s): 77de879

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -7
Dockerfile CHANGED
@@ -5,13 +5,12 @@ FROM python:3.10-slim
5
  WORKDIR /app
6
 
7
  # Install system dependencies
8
- RUN apt-get update && apt-get install -y \
9
- tesseract-ocr \
10
- libtesseract-dev \
11
- libgl1-mesa-glx \
12
- libglib2.0-0 \
13
- && apt-get clean \
14
- && rm -rf /var/lib/apt/lists/*
15
 
16
  # Copy the current directory contents into the container at /app
17
  COPY . /app
 
5
  WORKDIR /app
6
 
7
  # Install system dependencies
8
+ RUN apt-get update && apt-get install -y
9
+ RUN apt-get install -y tesseract-ocr
10
+ RUN apt-get install -y libtesseract-dev
11
+ RUN apt-get install -y libgl1-mesa-glx
12
+ RUN apt-get install -y libglib2.0-0
13
+ RUN pip install --upgrade pip
 
14
 
15
  # Copy the current directory contents into the container at /app
16
  COPY . /app