Spaces:
Runtime error
Runtime error
Commit ·
51ff198
1
Parent(s): 244f753
Change to Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
|
@@ -4,6 +4,12 @@ FROM python:3.12-slim
|
|
| 4 |
# Set the working directory in the container
|
| 5 |
WORKDIR /app
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
# Copy the requirements file into the container at /app
|
| 8 |
COPY requirements.txt .
|
| 9 |
|
|
|
|
| 4 |
# Set the working directory in the container
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
+
# Install system dependencies required for sentence-transformers and OpenCV
|
| 8 |
+
RUN apt-get update && apt-get install -y \
|
| 9 |
+
libgl1-mesa-glx \
|
| 10 |
+
libglib2.0-0 \
|
| 11 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 12 |
+
|
| 13 |
# Copy the requirements file into the container at /app
|
| 14 |
COPY requirements.txt .
|
| 15 |
|