[Docs] Fix syntax highlighting of shell commands (#19870)

Signed-off-by: Lukas Geiger <lukas.geiger94@gmail.com>
This commit is contained in:
Lukas Geiger
2025-06-23 18:59:09 +01:00
committed by GitHub
parent 53243e5c42
commit c3649e4fee
53 changed files with 220 additions and 220 deletions

View File

@@ -11,13 +11,13 @@ This document shows how to launch multiple vLLM serving containers and use Nginx
This guide assumes that you have just cloned the vLLM project and you're currently in the vllm root directory.
```console
```bash
export vllm_root=`pwd`
```
Create a file named `Dockerfile.nginx`:
```console
```dockerfile
FROM nginx:latest
RUN rm /etc/nginx/conf.d/default.conf
EXPOSE 80
@@ -26,7 +26,7 @@ CMD ["nginx", "-g", "daemon off;"]
Build the container:
```console
```bash
docker build . -f Dockerfile.nginx --tag nginx-lb
```
@@ -60,14 +60,14 @@ Create a file named `nginx_conf/nginx.conf`. Note that you can add as many serve
## Build vLLM Container
```console
```bash
cd $vllm_root
docker build -f docker/Dockerfile . --tag vllm
```
If you are behind proxy, you can pass the proxy settings to the docker build command as shown below:
```console
```bash
cd $vllm_root
docker build \
-f docker/Dockerfile . \
@@ -80,7 +80,7 @@ docker build \
## Create Docker Network
```console
```bash
docker network create vllm_nginx
```
@@ -129,7 +129,7 @@ Notes:
## Launch Nginx
```console
```bash
docker run \
-itd \
-p 8000:80 \
@@ -142,7 +142,7 @@ docker run \
## Verify That vLLM Servers Are Ready
```console
```bash
docker logs vllm0 | grep Uvicorn
docker logs vllm1 | grep Uvicorn
```