Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -8,11 +8,13 @@ RUN apt-get update && apt-get install -y \
|
|
| 8 |
git \
|
| 9 |
python3.10 \
|
| 10 |
python3-pip \
|
| 11 |
-
|
|
|
|
|
|
|
| 12 |
RUN apt-get install poppler-utils -y
|
| 13 |
|
| 14 |
|
| 15 |
-
RUN pip3 install torch --index-url https://download.pytorch.org/whl/
|
| 16 |
RUN useradd -m -u 1000 user
|
| 17 |
|
| 18 |
USER user
|
|
|
|
| 8 |
git \
|
| 9 |
python3.10 \
|
| 10 |
python3-pip \
|
| 11 |
+
--no-install-recommends \
|
| 12 |
+
&& apt-get clean \
|
| 13 |
+
&& rm -rf /var/lib/apt/lists/
|
| 14 |
RUN apt-get install poppler-utils -y
|
| 15 |
|
| 16 |
|
| 17 |
+
RUN pip3 install torch --index-url https://download.pytorch.org/whl/cu124
|
| 18 |
RUN useradd -m -u 1000 user
|
| 19 |
|
| 20 |
USER user
|