Spaces:
Running
Running
Update Dockerfile
Browse files- 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 . .
|