Update 'other/vllm/Docker/Dockerfile'
This commit is contained in:
parent
ac43cb0f5a
commit
23cb4df7db
|
@ -10,7 +10,6 @@ RUN git clone https://git.evulid.cc/cyberes/local-llm-server.git /local-llm-serv
|
||||||
WORKDIR /local-llm-server
|
WORKDIR /local-llm-server
|
||||||
|
|
||||||
RUN python3 -m venv /venv
|
RUN python3 -m venv /venv
|
||||||
RUN /venv/bin/pip install git+https://github.com/vllm-project/vllm
|
|
||||||
|
|
||||||
RUN python3 -m venv /jupyterlab
|
RUN python3 -m venv /jupyterlab
|
||||||
RUN /jupyterlab/bin/pip install jupyterlab
|
RUN /jupyterlab/bin/pip install jupyterlab
|
||||||
|
@ -25,6 +24,7 @@ RUN cp /tmp/rathole /app
|
||||||
# The local local-llm-server repo may be cached, so we will fetch and reset to the remote every time.
|
# The local local-llm-server repo may be cached, so we will fetch and reset to the remote every time.
|
||||||
# Also, make sure there weren't any pip deps added.
|
# Also, make sure there weren't any pip deps added.
|
||||||
ADD "https://www.random.org/cgi-bin/randbyte?nbytes=10&format=h" skipcache
|
ADD "https://www.random.org/cgi-bin/randbyte?nbytes=10&format=h" skipcache
|
||||||
|
RUN /venv/bin/pip install git+https://github.com/vllm-project/vllm
|
||||||
RUN git fetch; git reset --hard origin/master
|
RUN git fetch; git reset --hard origin/master
|
||||||
RUN /venv/bin/pip install -r requirements.txt
|
RUN /venv/bin/pip install -r requirements.txt
|
||||||
|
|
||||||
|
|
Reference in New Issue