Spaces:
Sleeping
Sleeping
supunnadeera commited on
Commit ·
8a8837b
1
Parent(s): 432df51
initial
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -4,8 +4,9 @@ FROM python:3.10
|
|
| 4 |
# Set working directory
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
-
#
|
| 8 |
-
|
|
|
|
| 9 |
|
| 10 |
# Create a folder for models so we have permission to write to it
|
| 11 |
RUN mkdir -p /app/models && chmod 777 /app/models
|
|
|
|
| 4 |
# Set working directory
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
+
# --- FIX IS HERE ---
|
| 8 |
+
# Changed 'libgl1-mesa-glx' to 'libgl1' for newer Debian versions
|
| 9 |
+
RUN apt-get update && apt-get install -y libgl1 libglib2.0-0
|
| 10 |
|
| 11 |
# Create a folder for models so we have permission to write to it
|
| 12 |
RUN mkdir -p /app/models && chmod 777 /app/models
|