[docs] small docker changes (#5917)

This commit is contained in:
Jari Van Melckebeke 2024-05-20 01:09:37 +02:00 committed by GitHub
parent b63dc4e325
commit 8456d13349
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: B5690EEEBB952194

View file

@ -19,7 +19,7 @@ Use these commands to launch the image:
``` ```
cd text-generation-webui cd text-generation-webui
ln -s docker/{nvidia/Dockerfile,docker-compose.yml,.dockerignore} . ln -s docker/{nvidia/Dockerfile,nvidia/docker-compose.yml,.dockerignore} .
cp docker/.env.example .env cp docker/.env.example .env
# Edit .env and set TORCH_CUDA_ARCH_LIST based on your GPU model # Edit .env and set TORCH_CUDA_ARCH_LIST based on your GPU model
docker compose up --build docker compose up --build