intisarhasnain commited on
Commit
11f24bf
·
verified ·
1 Parent(s): 78a1cdf

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -0
Dockerfile CHANGED
@@ -1,5 +1,12 @@
1
  FROM python:3.11
2
  WORKDIR /app
 
 
 
 
 
 
 
3
  COPY requirements.txt .
4
  RUN pip install -r requirements.txt
5
  COPY . .
 
1
  FROM python:3.11
2
  WORKDIR /app
3
+
4
+ # Fix for libGL missing error
5
+ RUN apt-get update && apt-get install -y \
6
+ libgl1 \
7
+ libglib2.0-0 \
8
+ && rm -rf /var/lib/apt/lists/*
9
+
10
  COPY requirements.txt .
11
  RUN pip install -r requirements.txt
12
  COPY . .