mkingboi commited on
Commit
c832bf4
·
verified ·
1 Parent(s): 534acf4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -1,13 +1,18 @@
1
  FROM python:3.11-slim
 
2
  RUN apt-get update && apt-get install -y --no-install-recommends \
3
  tesseract-ocr \
4
  default-jre \
5
  poppler-utils \
6
  libgl1 \
7
  && rm -rf /var/lib/apt/lists/*
 
8
  WORKDIR /app
9
  COPY . /app
 
10
  RUN pip install --upgrade pip
11
  RUN pip install --no-cache-dir -r requirements.txt
 
12
  ENV PYTHONUNBUFFERED=1
13
  CMD ["python", "app.py"]
 
 
1
  FROM python:3.11-slim
2
+
3
  RUN apt-get update && apt-get install -y --no-install-recommends \
4
  tesseract-ocr \
5
  default-jre \
6
  poppler-utils \
7
  libgl1 \
8
  && rm -rf /var/lib/apt/lists/*
9
+
10
  WORKDIR /app
11
  COPY . /app
12
+
13
  RUN pip install --upgrade pip
14
  RUN pip install --no-cache-dir -r requirements.txt
15
+
16
  ENV PYTHONUNBUFFERED=1
17
  CMD ["python", "app.py"]
18
+