Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -25,7 +25,7 @@ RUN chmod +x /entrypoint.sh
|
|
25 |
ARG PIP_INDEX=https://pypi.org/simple
|
26 |
RUN python -m pip install --upgrade -i "$PIP_INDEX" pip && \
|
27 |
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu && \
|
28 |
-
pip install -i "$PIP_INDEX" --upgrade-strategy only-if-needed -r /
|
29 |
pip install "llama-cpp-python==0.2.77" --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu && \
|
30 |
cd /opt/inference && \
|
31 |
python setup.py build_web && \
|
|
|
25 |
ARG PIP_INDEX=https://pypi.org/simple
|
26 |
RUN python -m pip install --upgrade -i "$PIP_INDEX" pip && \
|
27 |
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu && \
|
28 |
+
pip install -i "$PIP_INDEX" --upgrade-strategy only-if-needed -r /requirements.txt && \
|
29 |
pip install "llama-cpp-python==0.2.77" --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu && \
|
30 |
cd /opt/inference && \
|
31 |
python setup.py build_web && \
|