Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
FROM python:3.10-slim
|
2 |
|
3 |
-
# Install system dependencies including libcrypt
|
4 |
RUN apt-get update && \
|
5 |
apt-get install -y \
|
6 |
-
libxcrypt-
|
7 |
libgl1-mesa-glx \
|
8 |
libglib2.0-0 \
|
9 |
libsm6 \
|
@@ -29,7 +29,6 @@ RUN pip install --upgrade pip
|
|
29 |
|
30 |
RUN pip install --no-cache-dir PyMuPDF==1.23.0
|
31 |
|
32 |
-
# This will now work
|
33 |
RUN python -c "import fitz; print('PyMuPDF imported successfully')"
|
34 |
|
35 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
1 |
FROM python:3.10-slim
|
2 |
|
3 |
+
# Install system dependencies including libcrypt and required libraries
|
4 |
RUN apt-get update && \
|
5 |
apt-get install -y \
|
6 |
+
libxcrypt-dev \
|
7 |
libgl1-mesa-glx \
|
8 |
libglib2.0-0 \
|
9 |
libsm6 \
|
|
|
29 |
|
30 |
RUN pip install --no-cache-dir PyMuPDF==1.23.0
|
31 |
|
|
|
32 |
RUN python -c "import fitz; print('PyMuPDF imported successfully')"
|
33 |
|
34 |
RUN pip install --no-cache-dir -r requirements.txt
|