andreagalle commited on
Commit
29d4d33
·
1 Parent(s): ae3e3b9

fixed dependencies

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -3
Dockerfile CHANGED
@@ -12,9 +12,19 @@ RUN pip install --no-cache-dir -r requirements.txt
12
 
13
  # Install dependencies
14
  RUN apt-get update && apt-get install -y \
 
 
 
 
 
 
 
 
 
 
 
15
  git \
16
  wget \
17
- libglib2.0-0=2.72.4-0ubuntu2.2 \
18
  && rm -rf /var/lib/apt/lists/*
19
 
20
  # Clone the dust3r repository
@@ -33,5 +43,4 @@ EXPOSE 7860
33
 
34
  WORKDIR /app
35
  # Command to run the FastAPI app
36
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
37
-
 
12
 
13
  # Install dependencies
14
  RUN apt-get update && apt-get install -y \
15
+ libgl1-mesa-glx \
16
+ libegl1-mesa \
17
+ libxrandr2 \
18
+ libxrandr2 \
19
+ libxss1 \
20
+ libxcursor1 \
21
+ libxcomposite1 \
22
+ libasound2 \
23
+ libxi6 \
24
+ libxtst6 \
25
+ libglib2.0-0 \
26
  git \
27
  wget \
 
28
  && rm -rf /var/lib/apt/lists/*
29
 
30
  # Clone the dust3r repository
 
43
 
44
  WORKDIR /app
45
  # Command to run the FastAPI app
46
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]