Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -5
Dockerfile
CHANGED
@@ -25,9 +25,7 @@ RUN apt-get update && \
|
|
25 |
libgl1-mesa-glx \
|
26 |
libsm6 \
|
27 |
libxrender1 \
|
28 |
-
|
29 |
-
libglib2.0-0 \
|
30 |
-
# --- End NEW ---
|
31 |
&& \
|
32 |
rm -rf /var/lib/apt/lists/*
|
33 |
|
@@ -40,11 +38,9 @@ ENV LLVM_CONFIG=/usr/bin/llvm-config-14
|
|
40 |
RUN pip install --no-cache-dir numpy==1.22.4
|
41 |
|
42 |
# Install the rest of the dependencies
|
43 |
-
# REMOVED: && python -m spacy download en_core_web_sm
|
44 |
RUN pip install --no-cache-dir -r requirements.txt
|
45 |
|
46 |
# Copy the rest of the application code to /app
|
47 |
-
# This should be done AFTER all dependencies are installed
|
48 |
COPY . /app/
|
49 |
|
50 |
# Create necessary directories with appropriate permissions
|
|
|
25 |
libgl1-mesa-glx \
|
26 |
libsm6 \
|
27 |
libxrender1 \
|
28 |
+
libglib2.0-0 \ <-- THIS LINE MUST BE PRESENT
|
|
|
|
|
29 |
&& \
|
30 |
rm -rf /var/lib/apt/lists/*
|
31 |
|
|
|
38 |
RUN pip install --no-cache-dir numpy==1.22.4
|
39 |
|
40 |
# Install the rest of the dependencies
|
|
|
41 |
RUN pip install --no-cache-dir -r requirements.txt
|
42 |
|
43 |
# Copy the rest of the application code to /app
|
|
|
44 |
COPY . /app/
|
45 |
|
46 |
# Create necessary directories with appropriate permissions
|