Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
@@ -3,7 +3,7 @@ FROM python:3.10-slim
|
|
3 |
# Install system dependencies including libcrypt and required libraries
|
4 |
RUN apt-get update && \
|
5 |
apt-get install -y \
|
6 |
-
libcrypt-dev \
|
7 |
libgl1-mesa-glx \
|
8 |
libglib2.0-0 \
|
9 |
libsm6 \
|
@@ -27,8 +27,6 @@ COPY requirements.txt .
|
|
27 |
|
28 |
RUN pip install --upgrade pip
|
29 |
|
30 |
-
# Note: You have PyMuPDF version mismatch between Dockerfile and requirements.txt
|
31 |
-
# Dockerfile has 1.23.0 while requirements.txt has 1.23.26
|
32 |
RUN pip install --no-cache-dir -r requirements.txt
|
33 |
|
34 |
RUN python -c "import fitz; print('PyMuPDF imported successfully')"
|
|
|
3 |
# Install system dependencies including libcrypt and required libraries
|
4 |
RUN apt-get update && \
|
5 |
apt-get install -y \
|
6 |
+
libcrypt-dev \
|
7 |
libgl1-mesa-glx \
|
8 |
libglib2.0-0 \
|
9 |
libsm6 \
|
|
|
27 |
|
28 |
RUN pip install --upgrade pip
|
29 |
|
|
|
|
|
30 |
RUN pip install --no-cache-dir -r requirements.txt
|
31 |
|
32 |
RUN python -c "import fitz; print('PyMuPDF imported successfully')"
|