docker: update
This commit is contained in:
parent
f58fa1a6f1
commit
949ddda649
other/vllm/Docker
|
@ -1,20 +1,20 @@
|
|||
FROM cyberes/paperspace-vllm-base as runtime
|
||||
|
||||
RUN apt-get update && apt-get install -y supervisor && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN useradd -ms /bin/bash apiserver
|
||||
RUN usermod -s /bin/bash root
|
||||
|
||||
# Required packages
|
||||
RUN apt-get update && \
|
||||
apt-get install -y python3 python3-pip
|
||||
apt-get install -y python3 python3-pip supervisor && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
RUN pip3 install --upgrade pip setuptools wheel
|
||||
|
||||
# Useful Python packages
|
||||
RUN pip3 install glances
|
||||
|
||||
# Useful tools
|
||||
RUN apt-get install -y wget aria2 git-lfs git openssh-server openssh-client nano tmux file && \
|
||||
RUN apt-get update && \
|
||||
apt-get install -y wget aria2 git-lfs git openssh-server openssh-client nano tmux file && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN cd /local-llm-server && git reset --hard && git pull
|
||||
|
|
|
@ -2,4 +2,7 @@
|
|||
|
||||
# Build and push the container.
|
||||
|
||||
git pull; git pull; sudo docker build . -t cyberes/vllm-paperspace && sudo docker push cyberes/vllm-paperspace:latest
|
||||
git pull
|
||||
git pull
|
||||
sudo docker build . -f Dockerfile.base -t cyberes/paperspace-vllm-base && sudo docker push cyberes/paperspace-vllm-base:latest
|
||||
sudo docker build . -t cyberes/vllm-paperspace && sudo docker push cyberes/vllm-paperspace:latest
|
||||
|
|
Reference in New Issue