Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -4,11 +4,12 @@ FROM python:3.11-slim
|
|
| 4 |
# Set working directory
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
-
# Install system dependencies (including libgl1 for OpenCV and Node.js)
|
| 8 |
RUN apt-get update && apt-get install -y \
|
| 9 |
git \
|
| 10 |
curl \
|
| 11 |
libgl1 \
|
|
|
|
| 12 |
&& curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
|
| 13 |
&& apt-get install -y nodejs \
|
| 14 |
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
| 4 |
# Set working directory
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
+
# Install system dependencies (including libgl1, libglib2.0-0 for OpenCV and Node.js)
|
| 8 |
RUN apt-get update && apt-get install -y \
|
| 9 |
git \
|
| 10 |
curl \
|
| 11 |
libgl1 \
|
| 12 |
+
libglib2.0-0 \
|
| 13 |
&& curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
|
| 14 |
&& apt-get install -y nodejs \
|
| 15 |
&& rm -rf /var/lib/apt/lists/*
|