Spaces:
Sleeping
Sleeping
Commit
·
aea524d
1
Parent(s):
28b7422
Refactor Dockerfile to remove unnecessary package upgrades and streamline dependency installation
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -4,15 +4,14 @@ WORKDIR /app
|
|
| 4 |
|
| 5 |
# Combining update and install to ensure proper cache handling
|
| 6 |
RUN apt-get update -y && \
|
| 7 |
-
apt-get upgrade -y && \
|
| 8 |
apt-get install -y --no-install-recommends \
|
| 9 |
curl \
|
| 10 |
poppler-utils \
|
| 11 |
-
libgl1
|
| 12 |
libglib2.0-0 \
|
| 13 |
libsm6 \
|
| 14 |
libxext6 \
|
| 15 |
-
|
| 16 |
libgomp1 \
|
| 17 |
wget && \
|
| 18 |
apt-get clean -y && \
|
|
|
|
| 4 |
|
| 5 |
# Combining update and install to ensure proper cache handling
|
| 6 |
RUN apt-get update -y && \
|
|
|
|
| 7 |
apt-get install -y --no-install-recommends \
|
| 8 |
curl \
|
| 9 |
poppler-utils \
|
| 10 |
+
libgl1 \
|
| 11 |
libglib2.0-0 \
|
| 12 |
libsm6 \
|
| 13 |
libxext6 \
|
| 14 |
+
libxrender1 \
|
| 15 |
libgomp1 \
|
| 16 |
wget && \
|
| 17 |
apt-get clean -y && \
|