Update 'other/vllm/Docker/Dockerfile'

This commit is contained in:
Cyberes 2023-10-01 02:09:37 -06:00
parent 23cb4df7db
commit 782678de5f
1 changed files with 3 additions and 4 deletions

View File

@ -7,10 +7,6 @@ RUN pip3 install --upgrade pip setuptools wheel
RUN git clone https://git.evulid.cc/cyberes/local-llm-server.git /local-llm-server RUN git clone https://git.evulid.cc/cyberes/local-llm-server.git /local-llm-server
WORKDIR /local-llm-server
RUN python3 -m venv /venv
RUN python3 -m venv /jupyterlab RUN python3 -m venv /jupyterlab
RUN /jupyterlab/bin/pip install jupyterlab RUN /jupyterlab/bin/pip install jupyterlab
RUN /jupyterlab/bin/jupyter labextension disable "@jupyterlab/apputils-extension:announcements" RUN /jupyterlab/bin/jupyter labextension disable "@jupyterlab/apputils-extension:announcements"
@ -21,6 +17,9 @@ RUN unzip -j /tmp/rathole.zip -d /tmp
RUN rm /tmp/rathole.zip RUN rm /tmp/rathole.zip
RUN cp /tmp/rathole /app RUN cp /tmp/rathole /app
RUN python3 -m venv /venv
WORKDIR /local-llm-server
# 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