moamen270 commited on
Commit
35f9de4
·
1 Parent(s): 9468460

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -4,8 +4,14 @@ WORKDIR /code
4
 
5
  COPY requirements-fastapi.txt ./
6
 
 
 
 
 
 
7
 
8
  RUN pip install --no-cache-dir --upgrade -r /code/requirements-fastapi.txt
9
 
10
 
 
11
  CMD ["uvicorn", "endpoints:app", "--host", "0.0.0.0", "--port", "7860"]
 
4
 
5
  COPY requirements-fastapi.txt ./
6
 
7
+ # Installing libGL
8
+ RUN apt-get update && apt-get install -y \
9
+ libgl1-mesa-dev
10
+
11
+ RUN apt-get install -y poppler-utils libpoppler-cpp-dev
12
 
13
  RUN pip install --no-cache-dir --upgrade -r /code/requirements-fastapi.txt
14
 
15
 
16
+
17
  CMD ["uvicorn", "endpoints:app", "--host", "0.0.0.0", "--port", "7860"]