Spaces:
Running
Running
levanel commited on
Commit ·
402851b
1
Parent(s): effa24f
Add PyTorch, transformers, and pypdf to Docker build
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 9 |
&& rm -rf /var/lib/apt/lists/*
|
| 10 |
|
| 11 |
WORKDIR /app
|
| 12 |
-
RUN pip install --no-cache-dir
|
| 13 |
|
| 14 |
# Copy only what your engine needs
|
| 15 |
COPY CMakeLists.txt ./
|
|
|
|
| 9 |
&& rm -rf /var/lib/apt/lists/*
|
| 10 |
|
| 11 |
WORKDIR /app
|
| 12 |
+
RUN pip install --no-cache-dir gradio numpy pypdf transformers torch --extra-index-url https://download.pytorch.org/whl/cpu
|
| 13 |
|
| 14 |
# Copy only what your engine needs
|
| 15 |
COPY CMakeLists.txt ./
|