JunRecFour6 commited on
Commit
58364da
·
verified ·
1 Parent(s): ce30c18

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -2,11 +2,12 @@ FROM python:3.11-slim
2
 
3
  WORKDIR /code
4
 
 
 
 
5
  COPY requirements.txt .
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
8
  COPY . .
9
 
10
  CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]
11
-
12
- # Force rebuild
 
2
 
3
  WORKDIR /code
4
 
5
+ # Add this line to install libgl1
6
+ RUN apt-get update && apt-get install -y libgl1 && apt-get clean
7
+
8
  COPY requirements.txt .
9
  RUN pip install --no-cache-dir -r requirements.txt
10
 
11
  COPY . .
12
 
13
  CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]